summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2018-01-22 14:16:12 -0500
committerRyan Scott <ryan.gl.scott@gmail.com>2018-01-22 14:16:23 -0500
commit452dee3ff4f385977e56ac0fbb5adf0a90acbcac (patch)
tree859524d1a1178bad0af2046e9a362a4be855cad9 /testsuite/tests/patsyn/should_fail
parenta3cde5fd76b0e519f27267079e4ea89516ffdc04 (diff)
downloadhaskell-452dee3ff4f385977e56ac0fbb5adf0a90acbcac.tar.gz
Pass -dsuppress-uniques when running T14507
Not doing so resulted in different uniques being printed on different environments, as shown in #14703.
Diffstat (limited to 'testsuite/tests/patsyn/should_fail')
-rw-r--r--testsuite/tests/patsyn/should_fail/T14507.stderr2
-rw-r--r--testsuite/tests/patsyn/should_fail/all.T2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T14507.stderr b/testsuite/tests/patsyn/should_fail/T14507.stderr
index 2ed89cbac6..cec70dfcdb 100644
--- a/testsuite/tests/patsyn/should_fail/T14507.stderr
+++ b/testsuite/tests/patsyn/should_fail/T14507.stderr
@@ -2,7 +2,7 @@
T14507.hs:18:9: error:
• Iceland Jack! Iceland Jack! Stop torturing me!
Pattern-bound variable x :: TypeRep a
- has a type that mentions pattern-bound coercion: co_a2CF
+ has a type that mentions pattern-bound coercion: co
Hint: use -fprint-explicit-coercions to see the coercions
Probable fix: add a pattern signature
• In the declaration for pattern synonym ‘SO’
diff --git a/testsuite/tests/patsyn/should_fail/all.T b/testsuite/tests/patsyn/should_fail/all.T
index 2b3b85bf28..0f4c608169 100644
--- a/testsuite/tests/patsyn/should_fail/all.T
+++ b/testsuite/tests/patsyn/should_fail/all.T
@@ -41,4 +41,4 @@ test('T14114', normal, compile_fail, [''])
test('T14380', normal, compile_fail, [''])
test('T14498', normal, compile_fail, [''])
test('T14552', normal, compile_fail, [''])
-test('T14507', normal, compile_fail, [''])
+test('T14507', normal, compile_fail, ['-dsuppress-uniques'])