blob: 6e259058b7a1e689bae6e322e0dfa91b7de696c4 [file] [log] [blame]
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00001// RUN: clang-cc -emit-llvm < %s -o %t
2// RUN: grep 'dllexport' %t | count 1
Anton Korobeynikov2f402702008-12-26 00:52:02 +00003// RUN: not grep 'dllimport' %t
4
5void __attribute__((dllimport)) foo1();
6void __attribute__((dllexport)) foo1(){}
7void __attribute__((dllexport)) foo2();