diff options
author | rrt <unknown> | 2001-02-26 15:44:59 +0000 |
---|---|---|
committer | rrt <unknown> | 2001-02-26 15:44:59 +0000 |
commit | 81027250abf0099f1dbaef1ddb8534547268ad41 (patch) | |
tree | 6f5c60f1fe1d6e7c7e867a31256d604e788e6df4 /ghc/compiler/ilxGen/tests/test15.hs | |
parent | 44637383d831bd3ca8f3aa3cf80e6a0c90986b41 (diff) | |
download | haskell-81027250abf0099f1dbaef1ddb8534547268ad41.tar.gz |
[project @ 2001-02-26 15:44:59 by rrt]
ILX back-end. WARNING: this is code copied in that was previously added to
4.06. It's not remotely sane to try to compile it at the moment; that's what
I've got to do next. Don't worry, it's all #ifdefed at the moment.
Diffstat (limited to 'ghc/compiler/ilxGen/tests/test15.hs')
-rw-r--r-- | ghc/compiler/ilxGen/tests/test15.hs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ghc/compiler/ilxGen/tests/test15.hs b/ghc/compiler/ilxGen/tests/test15.hs new file mode 100644 index 0000000000..2dc494cda0 --- /dev/null +++ b/ghc/compiler/ilxGen/tests/test15.hs @@ -0,0 +1,20 @@ + +{-# OPTIONS -fglasgow-exts -fno-implicit-prelude #-} + + +module Foo where + +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" + + |