☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ38.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/var-templ38.C
code
plain
raw
1
// PR c++/66596
2
// { dg-do compile { target c++14 } }
3
4
struct U { void f() {} };
5
struct V { void f() {} };
6
template<class T> U t;
7
template<> V t<int>;
8
template<class T> void g() { t<T>.f(); }
9
int main() { g<int>(); }