From 08ef80f4b8fd49504983a536e16b8932ca898de2 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 22 Dec 2014 18:13:07 +0000 Subject: Rename test.cc files to test.cpp. The lit.cfg files only add .cpp to suffixes, so these tests used to never run, oops. (Also tweak to of these tests in minor ways to make the actually pass.) llvm-svn: 224718 --- clang/test/CodeGen/builtin-recursive.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 clang/test/CodeGen/builtin-recursive.cpp (limited to 'clang/test/CodeGen/builtin-recursive.cpp') diff --git a/clang/test/CodeGen/builtin-recursive.cpp b/clang/test/CodeGen/builtin-recursive.cpp new file mode 100644 index 00000000000..67d8a44c907 --- /dev/null +++ b/clang/test/CodeGen/builtin-recursive.cpp @@ -0,0 +1,10 @@ +// RUN: %clang_cc1 -nostdsysteminc -nobuiltininc -isystem %S/Inputs -emit-llvm-only %s + +// This used to cause a read past the end of a global variable. + +#include + +void testcase(void) { + vprintf(0, 0); +} + -- cgit v1.2.3