summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg24.C
blob: 1aa05c0a9e0ceac91531206f328478bb801cc219 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
typedef int Int;
 
Int Int_object_1;
 
void test ()
{
        ((Int) Int_object_1) = Int_object_1; /* { dg-error "" } not an lvalue*/
}