weak-import-on-enum.c revision 69cd886bdcc25a6d988c9e4b7e24076f40c970f5
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// rdar://10277579
4
5enum __attribute__((deprecated)) __attribute__((weak_import)) A {
6    a0
7};
8
9