commit | 1e12b3d777b36b80527da566192f8aeefad8f9d4 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Sat Jun 23 22:30:04 2012 +0000 |
committer | John McCall <rjmccall@apple.com> | Sat Jun 23 22:30:04 2012 +0000 |
tree | ccc8cd80ed8b0d7e7b28ca3123d49a012f2a3422 | |
parent | 33e6c2da2f72720ee6a34c6acd2a3e5ad37feca9 [diff] [blame] |
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
diff --git a/test/Parser/cxx0x-attributes.cpp b/test/Parser/cxx0x-attributes.cpp index db5eebf..a0b8467 100644 --- a/test/Parser/cxx0x-attributes.cpp +++ b/test/Parser/cxx0x-attributes.cpp
@@ -207,3 +207,8 @@ for ([[]] int n : { 1, 2, 3 }) { } } + +enum class __attribute__((visibility("hidden"))) SecretKeepers { + one, /* rest are deprecated */ two, three +}; +enum class [[]] EvenMoreSecrets {};