diff options
Diffstat (limited to 'test/Parser/objcxx11-attributes.mm')
-rw-r--r-- | test/Parser/objcxx11-attributes.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Parser/objcxx11-attributes.mm b/test/Parser/objcxx11-attributes.mm index 0c91392..1b9bf66 100644 --- a/test/Parser/objcxx11-attributes.mm +++ b/test/Parser/objcxx11-attributes.mm @@ -35,7 +35,8 @@ void f(X *noreturn) { [[class, test(foo 'x' bar),,,]]; [[bitand, noreturn]]; // expected-warning {{attribute noreturn cannot be specified on a statement}} - [[noreturn]]int(e)(); + // FIXME: Suppress vexing parse warning + [[noreturn]]int(e)(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} int e2(); // expected-warning {{interpreted as a function declaration}} expected-note{{}} // A function taking a noreturn function. |