☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
typename13.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/typename13.C
code
plain
raw
1
// P0634R3, PR c++/88358
2
// { dg-do compile { target c++20 } }
3
4
template <typename T>
5
int pi(T::your_pi);
6
7
struct Foo { static constexpr int your_pi = 10; };
8
9
int
10
main ()
11
{
12
return pi<Foo>;
13
}