summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-22 17:42:43 +0000
committerChris Lattner <sabre@nondot.org>2002-01-22 17:42:43 +0000
commite5cf823b54884300492fe378889f885ef7805296 (patch)
tree244c40ee324a5b63bd70fbfbf7602abf2bea91d0 /test
parentc89764e80c5b9097328de7cb997b32a337b94c80 (diff)
downloadllvm-e5cf823b54884300492fe378889f885ef7805296.tar.gz
llvm-e5cf823b54884300492fe378889f885ef7805296.tar.bz2
llvm-e5cf823b54884300492fe378889f885ef7805296.tar.xz
Moved to Programs/SingleSource
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/StructModifyTest.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/StructModifyTest.c b/test/StructModifyTest.c
deleted file mode 100644
index e927ae4504..0000000000
--- a/test/StructModifyTest.c
+++ /dev/null
@@ -1,30 +0,0 @@
-typedef struct {
- int w;
- float x;
- double y;
- long long z;
-} S1Ty;
-
-typedef struct {
- S1Ty A, B;
-} S2Ty;
-
-void printS1(S1Ty *V) {
- printf("%d, %f, %f, %lld\n", V->w, V->x, V->y, V->z);
-}
-
-void main() {
- S2Ty E;
- E.A.w = 1;
- E.A.x = 123.42f;
- E.A.y = 19.0;
- E.A.z = 123455678902ll;
- E.B.w = 2;
- E.B.x = 23.42f;
- E.B.y = 29.0;
- E.B.z = 23455678902ll;
-
- printS1(&E.A);
- printS1(&E.B);
-}
-