diff options
author | Dr. ERDI Gergo <gergo@erdi.hu> | 2014-12-21 15:07:43 +0800 |
---|---|---|
committer | Dr. ERDI Gergo <gergo@erdi.hu> | 2014-12-21 15:07:43 +0800 |
commit | 3b497ddb231981bc6aeb5533426bf632ba126e39 (patch) | |
tree | b8ab77a5330761f32c76d9c4751fd20ff1ac66c4 /testsuite/tests/ghci/should_run/T9915.script | |
parent | 4523d669989ab3b08e360016a315d6f9cd4808b0 (diff) | |
download | haskell-3b497ddb231981bc6aeb5533426bf632ba126e39.tar.gz |
Check dflags for language extensions when deciding if "foreign " and "deriving "
look like prefixes of valid declarations (fixes #9915)
Diffstat (limited to 'testsuite/tests/ghci/should_run/T9915.script')
-rw-r--r-- | testsuite/tests/ghci/should_run/T9915.script | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/should_run/T9915.script b/testsuite/tests/ghci/should_run/T9915.script new file mode 100644 index 0000000000..d504e05e2c --- /dev/null +++ b/testsuite/tests/ghci/should_run/T9915.script @@ -0,0 +1,5 @@ +:set -XHaskell98 +foreign = 42 +let foreign = 42 +foreign +foreign -- Note extra space after name! |