[cfe-commits] r161119 - /cfe/trunk/test/CodeGen/nobuiltin.c
Nuno Lopes
nunoplopes at sapo.pt
Wed Aug 1 10:02:31 PDT 2012
Author: nlopes
Date: Wed Aug 1 12:02:30 2012
New Revision: 161119
URL: http://llvm.org/viewvc/llvm-project?rev=161119&view=rev
Log:
add test for PR13497
Added:
cfe/trunk/test/CodeGen/nobuiltin.c
Added: cfe/trunk/test/CodeGen/nobuiltin.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/nobuiltin.c?rev=161119&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/nobuiltin.c (added)
+++ cfe/trunk/test/CodeGen/nobuiltin.c Wed Aug 1 12:02:30 2012
@@ -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);
+}
More information about the cfe-commits
mailing list