commit | bf1febd6f7a0282f64da9ab91ea449ac536dafac | [log] [tgz] |
---|---|---|
author | Nuno Lopes <nunoplopes@sapo.pt> | Wed Aug 01 17:02:30 2012 +0000 |
committer | Nuno Lopes <nunoplopes@sapo.pt> | Wed Aug 01 17:02:30 2012 +0000 |
tree | 400a3492aca5bdc58e3d51d8154553cbb20ad3aa | |
parent | 9574456bf79e058e20e488d42090c10138bc2c23 [diff] |
add test for PR13497 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161119 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/nobuiltin.c b/test/CodeGen/nobuiltin.c new file mode 100644 index 0000000..5a2bf1e --- /dev/null +++ b/test/CodeGen/nobuiltin.c
@@ -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); +}