Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -fno-builtin -O1 -S -o - %s | FileCheck %s
      2 
      3 void PR13497() {
      4   char content[2];
      5   // make sure we don't optimize this call to strcpy()
      6   // CHECK: __strcpy_chk
      7   __builtin___strcpy_chk(content, "", 1);
      8 }
      9