summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx-attributes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/cxx-attributes.cpp')
-rw-r--r--clang/test/Parser/cxx-attributes.cpp2
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}}
OpenPOWER on IntegriCloud