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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction4.C
blob
391beee8d8f41ed876a5be6255898fc4189bea5d
1
// { dg-do compile { target c++17 } }
2
3
template <int I, int J>
4
struct A { };
5
6
template <int I>
7
struct B
8
{
9
template<int J>
10
B(A<I,J>);
11
};
12
13
A<42,24> a;
14
B b (a);
15
16
int main()
17
{
18
(B(a));
19
}