summaryrefslogtreecommitdiff
path: root/test/FrontendC/2002-04-10-StructParameters.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-07-26 23:49:39 +0000
committerEric Christopher <echristo@apple.com>2011-07-26 23:49:39 +0000
commite927dc654f4d9529bd13783680636cb0db0eb852 (patch)
tree3cabfda420d2a0dc0abe391ac0f3700b3ef5451e /test/FrontendC/2002-04-10-StructParameters.c
parent00005782fa860f4b48b3b5261d92541c61ee2495 (diff)
Remove test/FrontendC, almost all of the tests have been migrated
to clang now, the rest are in process (6) or have been deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/2002-04-10-StructParameters.c')
-rw-r--r--test/FrontendC/2002-04-10-StructParameters.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/FrontendC/2002-04-10-StructParameters.c b/test/FrontendC/2002-04-10-StructParameters.c
deleted file mode 100644
index aaaba2abdd..0000000000
--- a/test/FrontendC/2002-04-10-StructParameters.c
+++ /dev/null
@@ -1,25 +0,0 @@
-// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
-
-
-typedef struct {
- char p;
- short q;
- char r;
- int X;
- short Y, Z;
- int Q;
-} foo;
-
-int test(foo X, float);
-int testE(char,short,char,int,int,float);
-void test3(foo *X) {
- X->q = 1;
-}
-
-void test2(foo Y) {
- testE(Y.p, Y.q, Y.r, Y.X, Y.Y, 0.1f);
- test(Y, 0.1f);
- test2(Y);
- test3(&Y);
-}
-