summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/union3.C
blob: 75ffbc0aeeb29c525d6c56a8ed4ad73ab47bf4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// GROUPS passed unions
union alan {
int a;
char *b;
alan();
};
 
alan mary;
 
alan::alan()
{
        a=0;
}