[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / InterfaceStubs / object.c
blob1c4376ce0f70331e1acdf240ffafcd9f8c0d7c82
1 // RUN: %clang_cc1 -fvisibility=default -o - -emit-interface-stubs %s | FileCheck -check-prefix=CHECK-TAPI %s
2 // RUN: %clang -fvisibility=default -c -o %t.o %s
3 // RUN: llvm-nm %t.o 2>&1 | FileCheck -check-prefix=CHECK-SYMBOLS %s
5 // CHECK-TAPI: data", Type: Object, Size: 4 }
6 // CHECK-SYMBOLS: data
7 int data = 42;