From e25bf38d946882abf4555c5a62b83c99b75414e4 Mon Sep 17 00:00:00 2001 From: John McCall Date: Mon, 27 Jun 2011 22:57:05 +0000 Subject: Merge this test into another. llvm-svn: 133957 --- clang/test/CodeGen/functions.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'clang/test/CodeGen/functions.c') diff --git a/clang/test/CodeGen/functions.c b/clang/test/CodeGen/functions.c index a2c692d0ce3..e51f93e5741 100644 --- a/clang/test/CodeGen/functions.c +++ b/clang/test/CodeGen/functions.c @@ -59,3 +59,9 @@ void f8_test() { // CHECK: declare void @f8_user({{.*}}*) // CHECK: declare void @f8_callback() } + +// PR10204: don't crash +static void test9_helper(void) {} +void test9() { + (void) test9_helper; +} -- cgit v1.2.3