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