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