Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / safestack / lto.c
blob2aeb755261873b1058942614167e2878fceab24c
1 // REQUIRES: lto
3 // RUN: %clang_lto_safestack %s -o %t
4 // RUN: %run %t
6 // Test that safe stack works with LTO.
7 int puts(const char *);
9 int main() {
10 char c[] = "hello world";
11 puts(c);
12 return 0;