blob: 5c2e5f5ad91f4a532c594e42537dea62b62dfdb1 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
struct a {
long x;
long y;
long z;
};
struct a getlibstruct (long aa);
int main() {
struct a rs = getlibstruct(123);
return rs.x;
}
/* Ensure our return value is read from memory. */
/* { dg-final { scan-assembler "l.lwz\\s+r11," } } */