1*7c3d14c8STreehugger Robot // REQUIRES: lto 2*7c3d14c8STreehugger Robot 3*7c3d14c8STreehugger Robot // RUN: %clang_lto_safestack %s -o %t 4*7c3d14c8STreehugger Robot // RUN: %run %t 5*7c3d14c8STreehugger Robot 6*7c3d14c8STreehugger Robot // Test that safe stack works with LTO. 7*7c3d14c8STreehugger Robot main()8*7c3d14c8STreehugger Robotint main() { 9*7c3d14c8STreehugger Robot char c[] = "hello world"; 10*7c3d14c8STreehugger Robot puts(c); 11*7c3d14c8STreehugger Robot return 0; 12*7c3d14c8STreehugger Robot } 13