summaryrefslogtreecommitdiff
path: root/test/FixIt/fixit-vexing-parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit-vexing-parse.cpp')
-rw-r--r--test/FixIt/fixit-vexing-parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FixIt/fixit-vexing-parse.cpp b/test/FixIt/fixit-vexing-parse.cpp
index 0232f5dbb0..71d3eff532 100644
--- a/test/FixIt/fixit-vexing-parse.cpp
+++ b/test/FixIt/fixit-vexing-parse.cpp
@@ -60,7 +60,7 @@ namespace N {
VO m(int (*p)[4]);
// Don't emit warning and fixit because direct initializer is not permitted here.
- if (int n(int())){} // expected-error {{function type is not allowed here}} expected-error {{condition must have an initializer}}
+ if (int n(int())){} // expected-error {{function type is not allowed here}}
// CHECK: fix-it:"{{.*}}":{66:8-66:10}:" = {}"
U u(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}