Rename llvm-gcc4 to llvm-gcc.
[llvm-complete.git] / test / CFrontend / 2007-05-07-NestedStructReturn.c
blob94dad87abf74340205adeb5ca921aa9abab86b1e
1 // RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}
3 struct X { int m, n, o, p; };
5 struct X p(int n) {
6 struct X c(int m) {
7 struct X x;
8 x.m = m;
9 x.n = n;
10 return x;
12 return c(n);