summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr26626.c
blob: a4e03012b253ee79a96512f36c3e087ea181f330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
typedef union {
    int d;
} U;

int rv;
void breakme()
{
    U *rv0;
    U *pretmp = (U*)&rv;
    rv0 = pretmp;
    rv0->d = 42;
}