llvm-project/clang/test/Sema/weak-import-on-enum.c

9 lines
241 B
C
Raw Normal View History

// 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
};