Home | History | Annotate | Download | only in safestack
      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 
      8 int main() {
      9   char c[] = "hello world";
     10   puts(c);
     11   return 0;
     12 }
     13