]> git.proxmox.com Git - rustc.git/blame - src/compiler-rt/test/safestack/lto.c
New upstream version 1.19.0+dfsg3
[rustc.git] / src / compiler-rt / test / safestack / lto.c
CommitLineData
92a42be0
SL
1// REQUIRES: lto
2
3// RUN: %clang_lto_safestack %s -o %t
4// RUN: %run %t
5
6// Test that safe stack works with LTO.
7
8int main() {
9 char c[] = "hello world";
10 puts(c);
11 return 0;
12}