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/rebindable/all.T | |
parent | ebd422aed41048476aa61dd4c520d43becd78682 (diff) | |
download | haskell-16514f272fb42af6e9c7674a9bd6c9dce369231f.tar.gz |
Move tests from tests/ghc-regress/* to just tests/*
Diffstat (limited to 'testsuite/tests/rebindable/all.T')
-rw-r--r-- | testsuite/tests/rebindable/all.T | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testsuite/tests/rebindable/all.T b/testsuite/tests/rebindable/all.T new file mode 100644 index 0000000000..7df16d4135 --- /dev/null +++ b/testsuite/tests/rebindable/all.T @@ -0,0 +1,31 @@ +# These tests try test the rebindable-syntax feature of GHC, +# which you get when you use -XNoImplicitPrelude +# +# Written by Ashley Yakeley + +# No point in doing anything except the normal way +setTestOpts(only_ways(['normal'])); +setTestOpts(only_compiler_types(['ghc'])) + +test('rebindable1', normal, compile, ['']) +test('rebindable2', normal, compile_and_run, ['']) +test('rebindable3', normal, compile_and_run, ['']) +test('rebindable4', normal, compile_and_run, ['']) +test('rebindable5', normal, compile_and_run, ['']) + +# rebindable6 has become expected failures +# following Trac #1537 +test('rebindable6', normal, compile_fail, ['']) + +test('rebindable7', normal, compile_and_run, ['']) +test('rebindable8', normal, compile, ['']) +test('rebindable9', normal, compile, ['']) +test('rebindable10', normal, compile_and_run, ['']) + +test('T303', normal, compile, ['']) + +# Tests from Oleg +test('DoRestrictedM', normal, compile, ['']) +test('DoParamM', reqlib('mtl'), compile_fail, ['']) +test('T5038', normal, compile_and_run, ['']) +test('T4851', normal, compile, ['']) |