[cfe-commits] r59031 - in /cfe/trunk/test/CodeGen: PR2784-debug-info-opaque-struct.c PR2950-debug-info-on-recursive-type.c debug-info.c
Chris Lattner
sabre at nondot.org
Mon Nov 10 22:42:53 PST 2008
Author: lattner
Date: Tue Nov 11 00:42:53 2008
New Revision: 59031
URL: http://llvm.org/viewvc/llvm-project?rev=59031&view=rev
Log:
merge some testcases together.
Removed:
cfe/trunk/test/CodeGen/PR2784-debug-info-opaque-struct.c
cfe/trunk/test/CodeGen/PR2950-debug-info-on-recursive-type.c
Modified:
cfe/trunk/test/CodeGen/debug-info.c
Removed: cfe/trunk/test/CodeGen/PR2784-debug-info-opaque-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/PR2784-debug-info-opaque-struct.c?rev=59030&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/PR2784-debug-info-opaque-struct.c (original)
+++ cfe/trunk/test/CodeGen/PR2784-debug-info-opaque-struct.c (removed)
@@ -1,6 +0,0 @@
-// RUN: clang -g -emit-llvm -o %t %s
-// PR2784
-
-struct OPAQUE;
-typedef struct OPAQUE *PTR;
-PTR p;
Removed: cfe/trunk/test/CodeGen/PR2950-debug-info-on-recursive-type.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/PR2950-debug-info-on-recursive-type.c?rev=59030&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/PR2950-debug-info-on-recursive-type.c (original)
+++ cfe/trunk/test/CodeGen/PR2950-debug-info-on-recursive-type.c (removed)
@@ -1,10 +0,0 @@
-// RUN: clang -g -emit-llvm -o %t %s
-
-struct s0;
-struct s0 { struct s0 *p; } g0;
-
-struct s0 *f0(struct s0 *a0) {
- return a0->p;
-}
-
-
Modified: cfe/trunk/test/CodeGen/debug-info.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-info.c?rev=59031&r1=59030&r2=59031&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info.c (original)
+++ cfe/trunk/test/CodeGen/debug-info.c Tue Nov 11 00:42:53 2008
@@ -4,3 +4,19 @@
void convert(void) {
struct { typeof(0) f0; } v0;
}
+
+// PR2784
+struct OPAQUE;
+typedef struct OPAQUE *PTR;
+PTR p;
+
+
+// PR2950
+struct s0;
+struct s0 { struct s0 *p; } g0;
+
+struct s0 *f0(struct s0 *a0) {
+ return a0->p;
+}
+
+
More information about the cfe-commits
mailing list