☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ22.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/var-templ22.C
code
plain
raw
1
// PR c++/63889
2
// { dg-do compile { target c++14 } }
3
4
template<class T>
5
struct A
6
{
7
template<class>
8
static constexpr bool is_ok = true;
9
10
template<bool v = is_ok<T>>
11
A(T) { }
12
};
13
14
A<int> p(42);