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-deduction52.C
blob
6ea9e8087d64a97dfcad3c1fbe4f33febf605aba
1
// PR c++/84768
2
// { dg-do compile { target c++17 } }
3
4
template<typename> struct A {};
5
6
template<typename T> struct B
7
{
8
template<X Y> B(A<T>); // { dg-error "declared" }
9
};
10
11
B b = A<void>();