diff options
Diffstat (limited to 'test/Parser/MicrosoftExtensions.cpp')
| -rw-r--r-- | test/Parser/MicrosoftExtensions.cpp | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Parser/MicrosoftExtensions.cpp b/test/Parser/MicrosoftExtensions.cpp index 74f4bb3268de1..c796eded1f0d0 100644 --- a/test/Parser/MicrosoftExtensions.cpp +++ b/test/Parser/MicrosoftExtensions.cpp @@ -261,9 +261,7 @@ int __identifier(else} = __identifier(for); // expected-error {{missing ')' afte  #define identifier_weird(x) __identifier(x  int k = identifier_weird(if)); // expected-error {{use of undeclared identifier 'if'}} -// This is a bit weird, but the alternative tokens aren't keywords, and this -// behavior matches MSVC. FIXME: Consider supporting this anyway. -extern int __identifier(and) r; // expected-error {{cannot convert '&&' token to an identifier}} +extern int __identifier(and);  void f() {    __identifier(() // expected-error {{cannot convert '(' token to an identifier}}  | 
