summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/dllimport-dllexport.c
blob: fe49ae7a32af784d349d4ba3c0a69ec2e7383851 (plain)
1
2
3
4
5
6
7
// RUN: clang-cc -emit-llvm < %s -o %t &&
// RUN: grep 'dllexport' %t | count 1 &&
// RUN: not grep 'dllimport' %t

void __attribute__((dllimport)) foo1();
void __attribute__((dllexport)) foo1(){}
void __attribute__((dllexport)) foo2();
OpenPOWER on IntegriCloud