diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-01-25 17:47:49 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-01-25 17:47:49 +0000 |
commit | 909df54cc33153fb9f90c135d032722a19ce809c (patch) | |
tree | 0a8663dce05871aa7bde4b0d3bb487cec684aac1 /test | |
parent | 78c28be6873965cce4026bbebef18c6224b5287d (diff) |
Add space after ';'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Sema/switch-1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Sema/switch-1.c b/test/Sema/switch-1.c index 4a5ded3b41..82ce6747a3 100644 --- a/test/Sema/switch-1.c +++ b/test/Sema/switch-1.c @@ -4,15 +4,15 @@ int f(int i) { switch (i) { - case 2147483647 + 2: // expected-warning {{overflow in expression;result is -2147483647 with type 'int'}} + case 2147483647 + 2: // expected-warning {{overflow in expression; result is -2147483647 with type 'int'}} return 1; - case 9223372036854775807L * 4: // expected-warning {{overflow in expression;result is -4 with type 'long'}} + case 9223372036854775807L * 4: // expected-warning {{overflow in expression; result is -4 with type 'long'}} return 2; - case (123456 *789012) + 1: // expected-warning {{overflow in expression;result is -1375982336 with type 'int'}} + case (123456 *789012) + 1: // expected-warning {{overflow in expression; result is -1375982336 with type 'int'}} return 3; case 2147483647: return 0; } - return (i, 65537) * 65537; // expected-warning {{overflow in expression;result is 131073 with type 'int'}} \ + return (i, 65537) * 65537; // expected-warning {{overflow in expression; result is 131073 with type 'int'}} \ // expected-warning {{expression result unused}} } |