summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 19:32:51 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 19:32:51 +0000
commite4bd95e44f2ed5bc4daf8f7b805acb4d5241acc8 (patch)
treeaafc2d8e32d5a54f02dadb39f8d4c9f203b2c99f
parent6590373db7281033f09322d2ac25b11f522b00cf (diff)
downloadllvm-e4bd95e44f2ed5bc4daf8f7b805acb4d5241acc8.tar.gz
llvm-e4bd95e44f2ed5bc4daf8f7b805acb4d5241acc8.tar.bz2
llvm-e4bd95e44f2ed5bc4daf8f7b805acb4d5241acc8.tar.xz
Checkin old testcase that is newly fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2161 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2002-03-12-StructInitialize.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CFrontend/2002-03-12-StructInitialize.c b/test/CFrontend/2002-03-12-StructInitialize.c
new file mode 100644
index 0000000000..38308e37f8
--- /dev/null
+++ b/test/CFrontend/2002-03-12-StructInitialize.c
@@ -0,0 +1,12 @@
+
+typedef struct Connection_Type {
+ long to;
+ char type[10];
+ long length;
+} Connection;
+
+Connection link[3]
+= { {1, "link1", 10},
+ {2, "link2", 20},
+ {3, "link3", 30} };
+