diff options
author | David Terei <davidterei@gmail.com> | 2011-07-20 11:09:03 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-07-20 11:26:35 -0700 |
commit | 16514f272fb42af6e9c7674a9bd6c9dce369231f (patch) | |
tree | e4f332b45fe65e2a7a2451be5674f887b42bf199 /testsuite/tests/driver/T3007/B | |
parent | ebd422aed41048476aa61dd4c520d43becd78682 (diff) | |
download | haskell-16514f272fb42af6e9c7674a9bd6c9dce369231f.tar.gz |
Move tests from tests/ghc-regress/* to just tests/*
Diffstat (limited to 'testsuite/tests/driver/T3007/B')
-rw-r--r-- | testsuite/tests/driver/T3007/B/B.cabal | 8 | ||||
-rw-r--r-- | testsuite/tests/driver/T3007/B/B.hs | 7 | ||||
-rw-r--r-- | testsuite/tests/driver/T3007/B/Internal.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/driver/T3007/B/Internal.hs-boot | 1 | ||||
-rw-r--r-- | testsuite/tests/driver/T3007/B/Setup.hs | 2 |
5 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T3007/B/B.cabal b/testsuite/tests/driver/T3007/B/B.cabal new file mode 100644 index 0000000000..dbccfffbe9 --- /dev/null +++ b/testsuite/tests/driver/T3007/B/B.cabal @@ -0,0 +1,8 @@ +Name: B +Version: 0 + +Library + Build-Depends: A == 0 + Exposed-Modules: B + Other-Modules: Internal + Extensions: NoImplicitPrelude diff --git a/testsuite/tests/driver/T3007/B/B.hs b/testsuite/tests/driver/T3007/B/B.hs new file mode 100644 index 0000000000..9bd13bbaec --- /dev/null +++ b/testsuite/tests/driver/T3007/B/B.hs @@ -0,0 +1,7 @@ +module B where + + import A + import {-# SOURCE #-} Internal + + a :: A + a = A diff --git a/testsuite/tests/driver/T3007/B/Internal.hs b/testsuite/tests/driver/T3007/B/Internal.hs new file mode 100644 index 0000000000..ccb9cd4b23 --- /dev/null +++ b/testsuite/tests/driver/T3007/B/Internal.hs @@ -0,0 +1,3 @@ +module Internal where + + import B diff --git a/testsuite/tests/driver/T3007/B/Internal.hs-boot b/testsuite/tests/driver/T3007/B/Internal.hs-boot new file mode 100644 index 0000000000..d066bb085e --- /dev/null +++ b/testsuite/tests/driver/T3007/B/Internal.hs-boot @@ -0,0 +1 @@ +module Internal where diff --git a/testsuite/tests/driver/T3007/B/Setup.hs b/testsuite/tests/driver/T3007/B/Setup.hs new file mode 100644 index 0000000000..9a994af677 --- /dev/null +++ b/testsuite/tests/driver/T3007/B/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain |