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