summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error26.C
blob: cd8d46d1e4f81a43bb90c1949b24250de6bb18aa (plain)
1
2
3
4
5
// PR c++/32112

template<typename> struct A;

template<typename T> void foo (A<&T::template i>); // { dg-error "T:: ?template i|mismatch|& T::i" }