blob: f10df7151abe3006cec8562d4b92a98847d76d97 [file] [log] [blame]
// { dg-do assemble }
// PRMS Id: 3069
void f(int&); // { dg-message "" } referenced by error below
void g(const int& i) {
f(i); // { dg-error "" } discarding const
}