Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
llvm-project
/
compiler-rt
/
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
;
}