summaryrefslogtreecommitdiff
path: root/test/Parser/extra-semi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/extra-semi.cpp')
-rw-r--r--test/Parser/extra-semi.cpp1
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 ']'}}