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-deduction13.C
blob
0bacf9b304e4d70060ec279ac4e4d480bc719aca
1
// { dg-options -std=c++17 }
2
3
template <class T>
4
struct A
5
{
6
template <class U>
7
struct B
8
{
9
template <class V>
10
B(T,U,V);
11
};
12
};
13
14
A<int>::B b(1,2.0,'\3');
15
16
template <class,class> class same;
17
template <class T> class same<T,T> {};
18
same<decltype(b), A<int>::B<double>> s;