diff options
Diffstat (limited to 'clang/test/Sema/switch-1.c')
-rw-r--r-- | clang/test/Sema/switch-1.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/test/Sema/switch-1.c b/clang/test/Sema/switch-1.c index 0d31a191c4f..144c3607f57 100644 --- a/clang/test/Sema/switch-1.c +++ b/clang/test/Sema/switch-1.c @@ -55,8 +55,5 @@ int f(int i) { // rdar://18405357 unsigned long long l = 65536 * 65536; // expected-warning {{overflow in expression; result is 0 with type 'int'}} -#ifndef __cplusplus -// expected-error@-2 {{not a compile-time constant}} -#endif unsigned long long l2 = 65536 * (unsigned)65536; unsigned long long l3 = 65536 * 65536ULL; |