[cfe-commits] r133957 - in /cfe/trunk/test/CodeGen: PR10204-fun-lvalue.c functions.c
John McCall
rjmccall at apple.com
Mon Jun 27 15:57:06 PDT 2011
Author: rjmccall
Date: Mon Jun 27 17:57:05 2011
New Revision: 133957
URL: http://llvm.org/viewvc/llvm-project?rev=133957&view=rev
Log:
Merge this test into another.
Removed:
cfe/trunk/test/CodeGen/PR10204-fun-lvalue.c
Modified:
cfe/trunk/test/CodeGen/functions.c
Removed: cfe/trunk/test/CodeGen/PR10204-fun-lvalue.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/PR10204-fun-lvalue.c?rev=133956&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/PR10204-fun-lvalue.c (original)
+++ cfe/trunk/test/CodeGen/PR10204-fun-lvalue.c (removed)
@@ -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;
-}
Modified: cfe/trunk/test/CodeGen/functions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/functions.c?rev=133957&r1=133956&r2=133957&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/functions.c (original)
+++ cfe/trunk/test/CodeGen/functions.c Mon Jun 27 17:57:05 2011
@@ -59,3 +59,9 @@
// CHECK: declare void @f8_user({{.*}}*)
// CHECK: declare void @f8_callback()
}
+
+// PR10204: don't crash
+static void test9_helper(void) {}
+void test9() {
+ (void) test9_helper;
+}
More information about the cfe-commits
mailing list