blob: 2e522c195668b777241548edb2cce9f200454597 (
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" "" { target { ! c++11 } } }
};
void foo()
{
A();
}
|