Home | History | Annotate | Download | only in FrontendC
      1 // RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}
      2 
      3 struct X { long m, n, o, p; };
      4 
      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;
     11   }
     12   return c(n);
     13 }
     14