Anton Korobeynikov | 2f40270 | 2008-12-26 00:52:02 +0000 | [diff] [blame] | 1 | // RUN: clang -emit-llvm < %s -o %t && |
2 | // RUN: grep 'dllexport' %t | count 1 && | ||||
3 | // RUN: not grep 'dllimport' %t | ||||
4 | |||||
5 | void __attribute__((dllimport)) foo1(); | ||||
6 | void __attribute__((dllexport)) foo1(){} | ||||
7 | void __attribute__((dllexport)) foo2(); |