forked from OSchip/llvm-project
13 lines
180 B
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;
|
||
|
}
|