8sa1-gcc/gcc/testsuite/g++.old-deja/g++.jason/rvalue3.C
Jason Merrill 4495766362 fix implicit int
From-SVN: r23760
1998-11-22 18:23:45 -05:00

6 lines
97 B
C

int main ()
{
int i;
int &ir = (int&)(int)i; // ERROR - casting rvalue to reference type
}