blob: 3ab3442884a9d5676e54fd51a8a774ea235b2e8f [file] [log] [blame]
// { dg-do assemble }
int i;
int &const j = i; // { dg-error "" } invalid const
int &const f(); // { dg-error "" } invalid const
void g ()
{
j = 1;
f() = 1;
}