summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T3007/A
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-07-20 11:09:03 -0700
committerDavid Terei <davidterei@gmail.com>2011-07-20 11:26:35 -0700
commit16514f272fb42af6e9c7674a9bd6c9dce369231f (patch)
treee4f332b45fe65e2a7a2451be5674f887b42bf199 /testsuite/tests/driver/T3007/A
parentebd422aed41048476aa61dd4c520d43becd78682 (diff)
downloadhaskell-16514f272fb42af6e9c7674a9bd6c9dce369231f.tar.gz
Move tests from tests/ghc-regress/* to just tests/*
Diffstat (limited to 'testsuite/tests/driver/T3007/A')
-rw-r--r--testsuite/tests/driver/T3007/A/A.cabal7
-rw-r--r--testsuite/tests/driver/T3007/A/A.hs7
-rw-r--r--testsuite/tests/driver/T3007/A/Internal.hs7
-rw-r--r--testsuite/tests/driver/T3007/A/Setup.hs2
4 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T3007/A/A.cabal b/testsuite/tests/driver/T3007/A/A.cabal
new file mode 100644
index 0000000000..86b3bb013e
--- /dev/null
+++ b/testsuite/tests/driver/T3007/A/A.cabal
@@ -0,0 +1,7 @@
+Name: A
+Version: 0
+
+Library
+ Exposed-Modules: A
+ Other-Modules: Internal
+ Extensions: NoImplicitPrelude
diff --git a/testsuite/tests/driver/T3007/A/A.hs b/testsuite/tests/driver/T3007/A/A.hs
new file mode 100644
index 0000000000..83e99f555f
--- /dev/null
+++ b/testsuite/tests/driver/T3007/A/A.hs
@@ -0,0 +1,7 @@
+module A (
+
+ A (A)
+
+) where
+
+ import Internal
diff --git a/testsuite/tests/driver/T3007/A/Internal.hs b/testsuite/tests/driver/T3007/A/Internal.hs
new file mode 100644
index 0000000000..761480dece
--- /dev/null
+++ b/testsuite/tests/driver/T3007/A/Internal.hs
@@ -0,0 +1,7 @@
+module Internal (
+
+ A (A)
+
+) where
+
+ data A = A
diff --git a/testsuite/tests/driver/T3007/A/Setup.hs b/testsuite/tests/driver/T3007/A/Setup.hs
new file mode 100644
index 0000000000..9a994af677
--- /dev/null
+++ b/testsuite/tests/driver/T3007/A/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain