add test for PR13497

llvm-svn: 161119
This commit is contained in:
Nuno Lopes 2012-08-01 17:02:30 +00:00
parent e7220312c2
commit 35b8c509c8
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// RUN: %clang_cc1 -fno-builtin -O1 -S -o - %s | FileCheck %s
void fn() {
char content[2];
// CHECK: __strcpy_chk
__builtin___strcpy_chk(content, "", 1);
}