diff options
Diffstat (limited to 'test/Sema/weak-import-on-enum.c')
-rw-r--r-- | test/Sema/weak-import-on-enum.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Sema/weak-import-on-enum.c b/test/Sema/weak-import-on-enum.c new file mode 100644 index 000000000000..3a2c0e5b3a14 --- /dev/null +++ b/test/Sema/weak-import-on-enum.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-apple-darwin %s +// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s +// rdar://10277579 + +enum __attribute__((deprecated)) __attribute__((weak_import)) A { + a0 +}; + |