Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC / 2007-05-07-NestedStructReturn.c
blobaea58e3ae8bb2123fc018b2a3e80ef1444a00227
1 // RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}
3 struct X { long 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);