Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / conversion / cast2.C
blobac8329730ea66b3a0b6bccbcff9369263ce70aa0
1 // Origin: PR c++/42260
2 // { dg-do compile }
4 struct A
6       template<typename T> operator T*();
7 };
9 int i = *A();// { dg-error "no match" }