hanchenye-llvm-project/clang/test/CodeGen/dllimport-dllexport.c

8 lines
237 B
C

// RUN: clang-cc -emit-llvm < %s -o %t &&
// RUN: grep 'dllexport' %t | count 1 &&
// RUN: not grep 'dllimport' %t
void __attribute__((dllimport)) foo1();
void __attribute__((dllexport)) foo1(){}
void __attribute__((dllexport)) foo2();