weak-import-on-enum.c 268 B

123456789
  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. // expected-no-diagnostics
  4. // rdar://10277579
  5. enum __attribute__((deprecated)) __attribute__((weak_import)) A {
  6. a0
  7. };