Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/ref-bind8.C

raw
1 // PR c++/97296
2 // { dg-do compile }
3
4 void f(const int * const &);
5 void f(const int *);
6 int *x;
7 int main()
8 {
9 f(x); // { dg-error "call of overloaded" }
10 }