aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Sema/weak-import-on-enum.c
blob: 358816d31a5cc31035c7cf1c294ab60aff0f1763 (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
// expected-no-diagnostics

enum __attribute__((deprecated)) __attribute__((weak_import)) A {
    a0
};