[commit: testsuite] master: Test Trac #8329 (81d8da9)
git at git.haskell.org
git
Tue Oct 1 11:09:46 UTC 2013
Repository : ssh://git at git.haskell.org/testsuite
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/81d8da9bcb6348caf103b38d76423cb7d71136fa/testsuite
>---------------------------------------------------------------
commit 81d8da9bcb6348caf103b38d76423cb7d71136fa
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Tue Oct 1 12:08:55 2013 +0100
Test Trac #8329
>---------------------------------------------------------------
81d8da9bcb6348caf103b38d76423cb7d71136fa
tests/simplCore/should_compile/T8329.hs | 4 ++++
tests/simplCore/should_compile/T8329_Com.hs | 6 ++++++
tests/simplCore/should_compile/T8329_Meta.hs | 5 +++++
tests/simplCore/should_compile/T8329_Parse.hs | 3 +++
tests/simplCore/should_compile/all.T | 1 +
5 files changed, 19 insertions(+)
diff --git a/tests/simplCore/should_compile/T8329.hs b/tests/simplCore/should_compile/T8329.hs
new file mode 100644
index 0000000..1f4def7
--- /dev/null
+++ b/tests/simplCore/should_compile/T8329.hs
@@ -0,0 +1,4 @@
+module T8329 where
+
+import T8329_Parse
+import T8329_Com
diff --git a/tests/simplCore/should_compile/T8329_Com.hs b/tests/simplCore/should_compile/T8329_Com.hs
new file mode 100644
index 0000000..2fbaa1b
--- /dev/null
+++ b/tests/simplCore/should_compile/T8329_Com.hs
@@ -0,0 +1,6 @@
+module T8329_Com where
+
+import Data.String (fromString)
+
+encodingName :: String
+encodingName = fromString ""
diff --git a/tests/simplCore/should_compile/T8329_Meta.hs b/tests/simplCore/should_compile/T8329_Meta.hs
new file mode 100644
index 0000000..6581299
--- /dev/null
+++ b/tests/simplCore/should_compile/T8329_Meta.hs
@@ -0,0 +1,5 @@
+{-# OPTIONS_GHC -O0 #-}
+
+module T8329_Meta where
+
+import Data.String
diff --git a/tests/simplCore/should_compile/T8329_Parse.hs b/tests/simplCore/should_compile/T8329_Parse.hs
new file mode 100644
index 0000000..859ce41
--- /dev/null
+++ b/tests/simplCore/should_compile/T8329_Parse.hs
@@ -0,0 +1,3 @@
+module T8329_Parse where
+
+import T8329_Meta
diff --git a/tests/simplCore/should_compile/all.T b/tests/simplCore/should_compile/all.T
index 2b91799..9e398bf 100644
--- a/tests/simplCore/should_compile/all.T
+++ b/tests/simplCore/should_compile/all.T
@@ -192,3 +192,4 @@ test('T8221',
extra_clean(['T8221a.hi', 'T8221a.o']),
run_command,
['$MAKE -s --no-print-directory T8221'])
+test('T8329', only_ways(['optasm']), multimod_compile, ['T8329','-v0 -O'])
More information about the ghc-commits
mailing list