diff options
Diffstat (limited to 'test/SemaCXX/ast-print.cpp')
-rw-r--r-- | test/SemaCXX/ast-print.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/SemaCXX/ast-print.cpp b/test/SemaCXX/ast-print.cpp index 4851571283f4a..baece3c2b320f 100644 --- a/test/SemaCXX/ast-print.cpp +++ b/test/SemaCXX/ast-print.cpp @@ -208,3 +208,8 @@ void test(int i) { } } } + +namespace { +// CHECK: struct {{\[\[gnu::visibility\(\"hidden\"\)\]\]}} S; +struct [[gnu::visibility("hidden")]] S; +} |