summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/friend6.C
blob: 2d13606cb202befd8d08191f347529f8f3a37e3f (plain)
1
2
3
// PR c++/27808

template<typename T> friend void T::foo; // { dg-error "friend|invalid" }