summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-05-07-NestedStructReturn.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2007-05-07-NestedStructReturn.c')
-rw-r--r--test/FrontendC/2007-05-07-NestedStructReturn.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/FrontendC/2007-05-07-NestedStructReturn.c b/test/FrontendC/2007-05-07-NestedStructReturn.c
deleted file mode 100644
index aea58e3ae8..0000000000
--- a/test/FrontendC/2007-05-07-NestedStructReturn.c
+++ /dev/null
@@ -1,13 +0,0 @@
-// RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}
-
-struct X { long m, n, o, p; };
-
-struct X p(int n) {
- struct X c(int m) {
- struct X x;
- x.m = m;
- x.n = n;
- return x;
- }
- return c(n);
-}