diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
commit | dbe13110f59f48b4dbb7552b3ac2935acdeece7f (patch) | |
tree | be1815eb79b42ff482a8562b13c2dcbf0c5dcbee /test/Parser/statements.c | |
parent | 9da628931ebf2609493570f87824ca22402cc65f (diff) |
Notes
Diffstat (limited to 'test/Parser/statements.c')
-rw-r--r-- | test/Parser/statements.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Parser/statements.c b/test/Parser/statements.c index bc7192a7b2b32..3a123d6001bde 100644 --- a/test/Parser/statements.c +++ b/test/Parser/statements.c @@ -31,20 +31,20 @@ void test3() { } void test4() { - if (0); // expected-warning {{if statement has empty body}} + if (0); // expected-warning {{if statement has empty body}} expected-note {{put the semicolon on a separate line to silence this warning}} int X; // declaration in a block. -foo: if (0); // expected-warning {{if statement has empty body}} +foo: if (0); // expected-warning {{if statement has empty body}} expected-note {{put the semicolon on a separate line to silence this warning}} } typedef int t; void test5() { - if (0); // expected-warning {{if statement has empty body}} + if (0); // expected-warning {{if statement has empty body}} expected-note {{put the semicolon on a separate line to silence this warning}} t x = 0; - if (0); // expected-warning {{if statement has empty body}} + if (0); // expected-warning {{if statement has empty body}} expected-note {{put the semicolon on a separate line to silence this warning}} } |