blob: 6ac42415b4376cab478f57f2c90247e44a3c2143 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// PR c++/33459
// { dg-prune-output "uninitialized" }
// { dg-prune-output "deleted" }
union A
{
int &i; // { dg-error "may not have reference type" }
};
void foo()
{
A();
}
|