OSDN Git Service

Fix PR c++/42260 and ensure PR c++/45383 is fixed
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / conversion / cast2.C
1 // Origin: PR c++/42260
2 // { dg-do compile }
3
4 struct A
5 {
6       template<typename T> operator T*();
7 };
8
9 int i = *A();// { dg-error "no match" }