☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
dependent-tmpl1.C
☽
☼
gcc/testsuite/g++.dg/template/dependent-tmpl1.C
code
plain
raw
1
// PR c++/93085
2
// { dg-do compile { target c++11 } }
3
4
template<class T>
5
struct G {
6
template<T> static int foo(); // #1
7
template<int> static int foo(); // #2
8
int x = foo<42>(); // OK
9
};