diff options
Diffstat (limited to 'test/FixIt/fixit-cxx11-attributes.cpp')
-rw-r--r-- | test/FixIt/fixit-cxx11-attributes.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/FixIt/fixit-cxx11-attributes.cpp b/test/FixIt/fixit-cxx11-attributes.cpp index 30697a9000..996fd185c3 100644 --- a/test/FixIt/fixit-cxx11-attributes.cpp +++ b/test/FixIt/fixit-cxx11-attributes.cpp @@ -49,3 +49,6 @@ namespace BaseSpecifier { // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:26-[[@LINE-4]]:26}:"[{{\[}}d]]" // CHECK: fix-it:"{{.*}}":{[[@LINE-2]]:33-[[@LINE-2]]:39}:"" } + +[[__clang__::annotate("test")]] void annotate3(); // expected-warning {{'__clang__' is a predefined macro name, not an attribute scope specifier; did you mean '_Clang' instead?}} +// CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:3-[[@LINE-1]]:12}:"_Clang" |