summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_compile
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-07-04 11:17:04 -0400
committerBen Gamari <ben@well-typed.com>2019-07-18 20:55:11 -0400
commite8adffb528f65749b5648c44ab711ef9aec4c69a (patch)
tree9267b643d7c605fa318f4d436c4d832b7b6ee201 /testsuite/tests/deriving/should_compile
parent3cec2af64bff0c89aa34dd95a75ee752f25135d5 (diff)
downloadhaskell-e8adffb528f65749b5648c44ab711ef9aec4c69a.tar.gz
testsuite: Set -dinitial-unique when reversing uniques
Otherwise the unique counter starts at 0, causing us to immediately underflow.
Diffstat (limited to 'testsuite/tests/deriving/should_compile')
-rw-r--r--testsuite/tests/deriving/should_compile/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/deriving/should_compile/Makefile b/testsuite/tests/deriving/should_compile/Makefile
index 581aabbce0..f723b5c01d 100644
--- a/testsuite/tests/deriving/should_compile/Makefile
+++ b/testsuite/tests/deriving/should_compile/Makefile
@@ -6,7 +6,7 @@ include $(TOP)/mk/test.mk
T11148:
$(RM) T11148.hi T11148.o
- '$(TEST_HC)' $(TEST_HC_OPTS) -c -dunique-increment=-1 T11148.hs
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c -dunique-increment=-1 -dinitial-unique=16777215 T11148.hs
# Set the unique-increment to '-1' to trigger the bug
# This has to be done on the command line;
# an OPTIONS_GHC pragma does not do it