llvm-project/compiler-rt/test/safestack/lto.c

13 lines
180 B
C

// REQUIRES: lto
// RUN: %clang_lto_safestack %s -o %t
// RUN: %run %t
// Test that safe stack works with LTO.
int main() {
char c[] = "hello world";
puts(c);
return 0;
}