summaryrefslogtreecommitdiff
path: root/clang/test/Sema/weak-import-on-enum.c
blob: 3a2c0e5b3a14bea3497ec5911cde1d69d5d7cc84 (about) (plain)
1
2
3
4
5
6
7
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
};