diff options
Diffstat (limited to 'test/Sema/const-eval.c')
-rw-r--r-- | test/Sema/const-eval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/const-eval.c b/test/Sema/const-eval.c index 30075d5c77..aebcb6a3fd 100644 --- a/test/Sema/const-eval.c +++ b/test/Sema/const-eval.c @@ -40,3 +40,5 @@ struct s { }; EVAL_EXPR(19, ((int)&*(char*)10 == 10 ? 1 : -1)); + +EVAL_EXPR(20, __builtin_constant_p(*((int*) 10), -1, 1)); |