summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/ref-bind8.C
blob: eee78fd5e744556e1d178f4af03d2f9a8f419867 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/97296
// { dg-do compile }

void f(const int * const &);
void f(const int *);
int *x;
int main()
{
  f(x); // { dg-error "call of overloaded" }
}