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 | 35b8c509c80c7950e88ab1af738cd552ea5bd5d5 (patch) | |
tree | 2802f171e83168bcf08eba6af6c844e28fffeac6 | |
parent | e7220312c2fa115c513d9cc22089900fc959e83d (diff) | |
download | bcm5719-llvm-35b8c509c80c7950e88ab1af738cd552ea5bd5d5.tar.gz bcm5719-llvm-35b8c509c80c7950e88ab1af738cd552ea5bd5d5.zip |
add test for PR13497
llvm-svn: 161119
-rw-r--r-- | clang/test/CodeGen/nobuiltin.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/nobuiltin.c b/clang/test/CodeGen/nobuiltin.c new file mode 100644 index 00000000000..5a2bf1ef618 --- /dev/null +++ b/clang/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); +} |