diff --git a/test/CodeGen/nobuiltin.c b/test/CodeGen/nobuiltin.c index 5a2bf1ef61..0a8e8bb4b6 100644 --- a/test/CodeGen/nobuiltin.c +++ b/test/CodeGen/nobuiltin.c @@ -1,7 +1,8 @@ // RUN: %clang_cc1 -fno-builtin -O1 -S -o - %s | FileCheck %s -void fn() { +void PR13497() { char content[2]; + // make sure we don't optimize this call to strcpy() // CHECK: __strcpy_chk __builtin___strcpy_chk(content, "", 1); }