minix/external/bsd/llvm/dist/clang/test/Sema/weak-import-on-enum.c

10 lines
268 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
// expected-no-diagnostics
// rdar://10277579
enum __attribute__((deprecated)) __attribute__((weak_import)) A {
a0
};