blob: 38b3e24241c4aaa466d3c0c2ba41895d495ffdd3 [file] [log] [blame]
// Origin PR c++/51476
// { dg-do compile { target c++11 } }
template<int> struct A {};
struct B
{
int i;
A<&B::i> a; // { dg-error "could not convert" }
};