diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-08-01 17:02:30 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-08-01 17:02:30 +0000 |
commit | bf1febd6f7a0282f64da9ab91ea449ac536dafac (patch) | |
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
-rw-r--r-- | test/CodeGen/nobuiltin.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/nobuiltin.c b/test/CodeGen/nobuiltin.c new file mode 100644 index 0000000000..5a2bf1ef61 --- /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); +} |