Debian Codegraph @

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

raw
1 // PR c++/91962 - ICE with reference binding and qualification conversion.
2 // { dg-do compile { target c++11 } }
3
4 template <typename a> class b {
5 public:
6 void c(const a &);
7 };
8 class B {
9 void d();
10 b<const int *> e;
11 };
12 long f;
13 void B::d() { e.c((const int *)f); }