Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / profile / AIX / shared-bexpall-pgo.c
blobb3b865db16f3239b01a0a1a0a22595ecb2072acd
1 // RUN: split-file %s %t
2 // RUN: cd %t
3 //
4 // RUN: %clang_pgogen foo.c -c -o foo.o
5 // RUN: %clang_pgogen -shared foo.o -o libfoo.so -bexpall
6 // RUN: %clang_pgogen -L%t user.c libfoo.so -o user1
7 // RUN: ./user1
9 //--- foo.c
10 void foo() {}
12 //--- user.c
13 void foo();
14 int main() { foo(); }