c++: constantness of call to function pointer [PR111703]
[official-gcc.git] / gcc / testsuite / g++.dg / inherit / union2.C
blobe3a9130480aa7494539aa12d353d619d54d7cc1a
1 struct A { };
2 union U : A { };  // { dg-error "derived union 'U' invalid" }
3 U u;