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