repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ22.C
blob
9ddc925e97eb88439013c8dafdb45a67473feb1b
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);