xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/nobuiltin.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
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