aboutsummaryrefslogtreecommitdiffstats
path: root/test
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 /test
parent6590373db7281033f09322d2ac25b11f522b00cf (diff)
downloadexternal_llvm-e4bd95e44f2ed5bc4daf8f7b805acb4d5241acc8.zip
external_llvm-e4bd95e44f2ed5bc4daf8f7b805acb4d5241acc8.tar.gz
external_llvm-e4bd95e44f2ed5bc4daf8f7b805acb4d5241acc8.tar.bz2
Checkin old testcase that is newly fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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 0000000..38308e3
--- /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} };
+