Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/template/lookup14.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 // PR c++/94799 - member template function lookup fails. | |
2 | |
3 template<typename T> | |
4 struct A { }; | |
5 | |
6 template<typename T> | |
7 void fn (A<T> a) | |
8 { | |
9 // Don't perform name lookup of foo when parsing this template. | |
10 a.template A<T>::foo (); | |
11 } |