summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/annotations/should_compile/T13818/A.hs8
-rw-r--r--testsuite/tests/annotations/should_compile/T13818/B.hs5
-rw-r--r--testsuite/tests/annotations/should_compile/T13818/all.T1
3 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/annotations/should_compile/T13818/A.hs b/testsuite/tests/annotations/should_compile/T13818/A.hs
new file mode 100644
index 0000000000..1f04845f36
--- /dev/null
+++ b/testsuite/tests/annotations/should_compile/T13818/A.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE DeriveDataTypeable #-}
+module A where
+
+import Data.Typeable
+import Data.Data
+
+data FromA = FromA
+ deriving (Typeable, Data)
diff --git a/testsuite/tests/annotations/should_compile/T13818/B.hs b/testsuite/tests/annotations/should_compile/T13818/B.hs
new file mode 100644
index 0000000000..d64afef5e3
--- /dev/null
+++ b/testsuite/tests/annotations/should_compile/T13818/B.hs
@@ -0,0 +1,5 @@
+module B where
+
+import A
+
+{-# ANN module FromA #-}
diff --git a/testsuite/tests/annotations/should_compile/T13818/all.T b/testsuite/tests/annotations/should_compile/T13818/all.T
new file mode 100644
index 0000000000..ce858b6c7a
--- /dev/null
+++ b/testsuite/tests/annotations/should_compile/T13818/all.T
@@ -0,0 +1 @@
+test('T13818', [expect_broken(13818),req_interp, omit_ways(prof_ways), extra_files(['A.hs', 'B.hs'])], multimod_compile, ['B', '-v0 -fno-code']) \ No newline at end of file