diff options
Diffstat (limited to 'clang/test/Parser/cxx0x-attributes.cpp')
-rw-r--r-- | clang/test/Parser/cxx0x-attributes.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Parser/cxx0x-attributes.cpp b/clang/test/Parser/cxx0x-attributes.cpp index 43176025642..5d3b8250691 100644 --- a/clang/test/Parser/cxx0x-attributes.cpp +++ b/clang/test/Parser/cxx0x-attributes.cpp @@ -309,8 +309,10 @@ namespace GccConst { // GCC's tokenizer treats const and __const as the same token. [[gnu::const]] int *f1(); [[gnu::__const]] int *f2(); + [[gnu::__const__]] int *f3(); void f(const int *); void g() { f(f1()); f(f2()); } + void h() { f(f3()); } } namespace GccASan { |