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
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction34.C
blob
380c35fdb031bf8fddcec0d0d2b3bac520e34ff0
1
// { dg-options -std=c++17 }
2
3
template <class T>
4
struct A
5
{
6
template <class U>
7
static constexpr bool B = U();
8
9
template <class U, bool V = B<U>>
10
A(T, U);
11
};
12
13
A a (1,2);