Sign in
llvm
/
llvm-project
/
compiler-rt
/
8582ff45d154fe2bf332bbc9be8b6570a708a17c
/
.
/
test
/
safestack
/
lto.c
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
;
}