blob: fe49ae7a32af784d349d4ba3c0a69ec2e7383851 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -emit-llvm < %s -o %t &&
Anton Korobeynikov2f402702008-12-26 00:52:02 +00002// 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();