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