blob: 306f4ee26aba1fcebf855d9ce1294d7f2e48a523 [file] [log] [blame]
Anton Korobeynikov2f402702008-12-26 00:52:02 +00001// RUN: clang -emit-llvm < %s -o %t &&
2// RUN: grep 'dllexport' %t | count 1 &&
3// RUN: not grep 'dllimport' %t
4
5void __attribute__((dllimport)) foo1();
6void __attribute__((dllexport)) foo1(){}
7void __attribute__((dllexport)) foo2();