blob: 408716089c9b11b1c095b162f742c6a509d2981b [file] [log] [blame]
/* APPLE LOCAL folding of anon union 6120295 */
/* { dg-do run } */
struct foo { int a; };
struct bar { int b; };
int main(int argc, char* argv[]) {
union {
const foo *pfoo;
const bar *pbar;
};
// test that the two pointers occupy the same space on the stack
if ((void *)&pfoo != (void *)&pbar)
return 1;
}