diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
| commit | 2b6b257f4e5503a7a2675bdb8735693db769f75c (patch) | |
| tree | e85e046ae7003fe3bcc8b5454cd0fa3f7407b470 /test/Parser/extra-semi.cpp | |
| parent | b4348ed0b7e90c0831b925fbee00b5f179a99796 (diff) | |
Notes
Diffstat (limited to 'test/Parser/extra-semi.cpp')
| -rw-r--r-- | test/Parser/extra-semi.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/Parser/extra-semi.cpp b/test/Parser/extra-semi.cpp index 1a44dae411e2..7287f856d8c9 100644 --- a/test/Parser/extra-semi.cpp +++ b/test/Parser/extra-semi.cpp @@ -5,7 +5,6 @@ void test1(int a;) { // expected-error{{unexpected ';' before ')'}} while (a > 5;) {} // expected-error{{unexpected ';' before ')'}} - if (int b = 10;) {} // expected-error{{unexpected ';' before ')'}} for (int c = 0; c < 21; ++c;) {} // expected-error{{unexpected ';' before ')'}} int d = int(3 + 4;); // expected-error{{unexpected ';' before ')'}} int e[5;]; // expected-error{{unexpected ';' before ']'}} |
