]> granicus.if.org Git - clang/commitdiff
Merge this test into another.
authorJohn McCall <rjmccall@apple.com>
Mon, 27 Jun 2011 22:57:05 +0000 (22:57 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 27 Jun 2011 22:57:05 +0000 (22:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133957 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PR10204-fun-lvalue.c [deleted file]
test/CodeGen/functions.c

diff --git a/test/CodeGen/PR10204-fun-lvalue.c b/test/CodeGen/PR10204-fun-lvalue.c
deleted file mode 100644 (file)
index ff558f1..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s
-// PR10204
-static void loopback_VertexAttribI4ubv() {}
-
-void _mesa_loopback_init_api_table() {
-  (void) loopback_VertexAttribI4ubv;
-}
index a2c692d0ce3ea517b36111e73fad6dfdc10a96cb..e51f93e57411208e1585ff7588ab341f7a985793 100644 (file)
@@ -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;
+}