diff options
Diffstat (limited to 'clang/test/Parser/cxx-attributes.cpp')
-rw-r--r-- | clang/test/Parser/cxx-attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/cxx-attributes.cpp b/clang/test/Parser/cxx-attributes.cpp index 8cba5bc2a17..6591532a91a 100644 --- a/clang/test/Parser/cxx-attributes.cpp +++ b/clang/test/Parser/cxx-attributes.cpp @@ -21,4 +21,4 @@ namespace PR17666 { typedef int __attribute__((aligned(int))) T2; // expected-error {{expected '(' for function-style cast}} } -__attribute((typename)) int x; // expected-error {{expected ')'}} +__attribute((typename)) int x; // expected-warning {{unknown attribute 'typename' ignored}} |