Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / ptrmem-cst-arg1.C
blobed12655af32acc16b8cba1897d61a620b0fa40bd
1 // Origin PR c++/51476
2 // { dg-do compile { target c++11 } }
4 template<int> struct A {};                                                               
5 struct B
7     int i;
8     A<&B::i> a; // { dg-error "could not convert template argument" }
9 };