diff options
author | John McCall <rjmccall@apple.com> | 2012-06-23 22:30:04 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-06-23 22:30:04 +0000 |
commit | 1e12b3d777b36b80527da566192f8aeefad8f9d4 (patch) | |
tree | ccc8cd80ed8b0d7e7b28ca3123d49a012f2a3422 /test/Parser/cxx0x-attributes.cpp | |
parent | 33e6c2da2f72720ee6a34c6acd2a3e5ad37feca9 (diff) |
Recognize GNU attributes after 'enum class'. Fixes the libc++ build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx0x-attributes.cpp')
-rw-r--r-- | test/Parser/cxx0x-attributes.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Parser/cxx0x-attributes.cpp b/test/Parser/cxx0x-attributes.cpp index db5eebfaac..a0b8467bcc 100644 --- a/test/Parser/cxx0x-attributes.cpp +++ b/test/Parser/cxx0x-attributes.cpp @@ -207,3 +207,8 @@ void baz () { for ([[]] int n : { 1, 2, 3 }) { } } + +enum class __attribute__((visibility("hidden"))) SecretKeepers { + one, /* rest are deprecated */ two, three +}; +enum class [[]] EvenMoreSecrets {}; |