Test Trac #8329
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 1 Oct 2013 11:08:55 +0000 (12:08 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 1 Oct 2013 11:09:40 +0000 (12:09 +0100)
testsuite/tests/simplCore/should_compile/T8329.hs [new file with mode: 0644]
testsuite/tests/simplCore/should_compile/T8329_Com.hs [new file with mode: 0644]
testsuite/tests/simplCore/should_compile/T8329_Meta.hs [new file with mode: 0644]
testsuite/tests/simplCore/should_compile/T8329_Parse.hs [new file with mode: 0644]
testsuite/tests/simplCore/should_compile/all.T

diff --git a/testsuite/tests/simplCore/should_compile/T8329.hs b/testsuite/tests/simplCore/should_compile/T8329.hs
new file mode 100644 (file)
index 0000000..1f4def7
--- /dev/null
@@ -0,0 +1,4 @@
+module T8329 where
+
+import T8329_Parse
+import T8329_Com
diff --git a/testsuite/tests/simplCore/should_compile/T8329_Com.hs b/testsuite/tests/simplCore/should_compile/T8329_Com.hs
new file mode 100644 (file)
index 0000000..2fbaa1b
--- /dev/null
@@ -0,0 +1,6 @@
+module T8329_Com where
+
+import Data.String (fromString)
+
+encodingName :: String
+encodingName = fromString ""
diff --git a/testsuite/tests/simplCore/should_compile/T8329_Meta.hs b/testsuite/tests/simplCore/should_compile/T8329_Meta.hs
new file mode 100644 (file)
index 0000000..6581299
--- /dev/null
@@ -0,0 +1,5 @@
+{-# OPTIONS_GHC -O0 #-}
+
+module T8329_Meta where
+
+import Data.String
diff --git a/testsuite/tests/simplCore/should_compile/T8329_Parse.hs b/testsuite/tests/simplCore/should_compile/T8329_Parse.hs
new file mode 100644 (file)
index 0000000..859ce41
--- /dev/null
@@ -0,0 +1,3 @@
+module T8329_Parse where
+
+import T8329_Meta
index 2b91799..9e398bf 100644 (file)
@@ -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'])