diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2015-04-07 13:55:43 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2015-04-07 15:10:31 +0100 |
commit | 74d2c33a1f4ebe3de090bc73d08910bbdd31f8f1 (patch) | |
tree | 176c2553e33b32ef8d1c092f499d2613566716fb /testsuite/tests/module | |
parent | c897613bbf6336d00c9b5433268cb5813308bee9 (diff) | |
download | haskell-74d2c33a1f4ebe3de090bc73d08910bbdd31f8f1.tar.gz |
GHC.Prim.Constraint is not built-in syntax
This fixes Trac #10233
Diffstat (limited to 'testsuite/tests/module')
-rw-r--r-- | testsuite/tests/module/T10233.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/module/T10233a.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/module/all.T | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/module/T10233.hs b/testsuite/tests/module/T10233.hs new file mode 100644 index 0000000000..965b413f51 --- /dev/null +++ b/testsuite/tests/module/T10233.hs @@ -0,0 +1,2 @@ +module T10233 where +import T10233a( Constraint, Int ) diff --git a/testsuite/tests/module/T10233a.hs b/testsuite/tests/module/T10233a.hs new file mode 100644 index 0000000000..b3282d9ac5 --- /dev/null +++ b/testsuite/tests/module/T10233a.hs @@ -0,0 +1,3 @@ +module T10233a ( module GHC.Exts ) where +import GHC.Exts ( Constraint, Int ) + diff --git a/testsuite/tests/module/all.T b/testsuite/tests/module/all.T index 1507ffb0d5..c4c2fffe57 100644 --- a/testsuite/tests/module/all.T +++ b/testsuite/tests/module/all.T @@ -345,3 +345,5 @@ test('T3776', normal, compile, ['']) test('T7765', normal, compile_fail, ['']) test('T9061', normal, compile, ['']) test('T9997', normal, compile, ['']) +test('T10233', extra_clean(['T01233a.hi', 'T01233a.o']), + multimod_compile, ['T10233', '-v0']) |