summaryrefslogtreecommitdiff
path: root/tests/headers/macro-expr-basic.h
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-11-14 11:49:08 -0600
committerGitHub <noreply@github.com>2016-11-14 11:49:08 -0600
commitb7259deb35aae61d7d21875e3b3da55e3f4391cc (patch)
treedeb4de2b4964315e2ec62080a6a22d36208e56ae /tests/headers/macro-expr-basic.h
parentb2081ebf345bee86ad516cbb9c5710580a40cd49 (diff)
parent37c05b71299ec00bd2679c3df22fb6ca0cd0e371 (diff)
Auto merge of #245 - emilio:min, r=fitzgen
codegen: Special-case i64::MIN since it produces a overflow on aster. Proper fix on aster soon, still worth to get this in I guess. r? @fitzgen
Diffstat (limited to 'tests/headers/macro-expr-basic.h')
-rw-r--r--tests/headers/macro-expr-basic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/headers/macro-expr-basic.h b/tests/headers/macro-expr-basic.h
index 55b11367..d2de7fdf 100644
--- a/tests/headers/macro-expr-basic.h
+++ b/tests/headers/macro-expr-basic.h
@@ -2,6 +2,8 @@
#define BAR 4
#define BAZ (FOO + BAR)
+#define MIN (1 << 63)
+
#define BARR (1 << 0)
#define BAZZ ((1 << 1) + BAZ)
#define I_RAN_OUT_OF_DUMB_NAMES (BARR | BAZZ)