repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[gcn] install.texi: Update for new ISA targets and their requirements
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
class-deduction-inherited3.C
blob
57e323b5124f9e47559955939d3d3908bcad4c8f
1
// { dg-do compile { target c++23 } }
2
3
template<class T>
4
struct A {
5
A(T);
6
template<class U> A(T, U);
7
};
8
9
template<class T>
10
struct B : A<const T> {
11
using A<const T>::A;
12
};
13
14
using type = decltype(B(0));
15
using type = decltype(B(0, 0));
16
using type = B<int>;