blob: 77969bc60eecb30d56a4e29bacf20e61d7eb5b34 [file] [log] [blame]
// { dg-do assemble }
int main ()
{
int i;
int &ir = (int&)(int)i; // { dg-error "14:invalid cast of a prvalue expression" } casting rvalue to reference type
}