summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/conversion2.C
blob: ebc2bd1eb419e61c69438dd442261f229d594d4c (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// PRMS Id: 3069

void f(int&);			// { dg-error "" } referenced by error below
void g(const int& i) {
  f(i);				// { dg-error "" } discarding const
}