xref: /llvm-project/clang/test/Sema/weak-import-on-enum.c (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
1 // RUN: %clang_cc1  -fsyntax-only -verify -triple x86_64-apple-darwin %s
2 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
3 // expected-no-diagnostics
4 
5 enum __attribute__((deprecated)) __attribute__((weak_import)) A {
6     a0
7 };
8 
9