diff options
Diffstat (limited to 'compiler/ilxGen/tests/test15.hs')
-rw-r--r-- | compiler/ilxGen/tests/test15.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/compiler/ilxGen/tests/test15.hs b/compiler/ilxGen/tests/test15.hs new file mode 100644 index 0000000000..3e522d757c --- /dev/null +++ b/compiler/ilxGen/tests/test15.hs @@ -0,0 +1,18 @@ + +{-# OPTIONS -fglasgow-exts -fno-implicit-prelude #-} + + +import PrelBase +import PrelList +import PrelEnum +import PrelShow +import PrelIO + + +bbuild :: forall a. (forall b. (a -> b -> b) -> b -> b) -> [a] +{-# INLINE 2 bbuild #-} +bbuild g = g (:) [] + +main = putStr "hello world\n" + + |