blob: 6886feb6e210a311b26b7d1961542b411005836f [file] [log] [blame]
// PRMS Id: 6837
// Bug: anonymous union confuses g++.
// Build don't link:
struct my_key {
my_key(const my_key&);
my_key(const char* n);
};
struct my_node {
my_node(my_key&);
union {
long cnt;
my_node* next;
};
my_key a;
};
extern my_node n;
my_node a(n);