diff options
-rw-r--r-- | test/Sema/i-c-e2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Sema/i-c-e2.c b/test/Sema/i-c-e2.c index 1afb7c90c2..587fcabbfb 100644 --- a/test/Sema/i-c-e2.c +++ b/test/Sema/i-c-e2.c @@ -14,3 +14,9 @@ void func(int x) } } + +// rdar://4213768 +int expr; +char y[__builtin_constant_p(expr) ? -1 : 1]; +char z[__builtin_constant_p(4) ? 1 : -1]; + |