summaryrefslogtreecommitdiff
path: root/testsuite/tests/splice-imports/SI08.hs
blob: 75cdcef7add62f8be4c89a1908aceea02f5f23d5 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE SpliceImports #-}
{-# LANGUAGE TemplateHaskell #-}
module SI08 where

import InstanceA ()
import splice ClassA

e :: X
-- Uses a non-splice imported instance
e = $(const [| x vx |] (x vx))