☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
nontype9.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/nontype9.C
code
plain
raw
1
// PR c++/123529
2
// { dg-do compile { target c++17 } }
3
4
template<int* P>
5
void f();
6
7
template<class T>
8
struct A {
9
static void g() {
10
static int i;
11
f<&i>();
12
}
13
};
14
15
template struct A<char>;
16
template struct A<int>;