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-deduction23.C
blob
a383304667db1ea577ba5b43c005d5021e2079d8
1
// { dg-do compile { target c++17 } }
2
3
template <class T>
4
struct A
5
{
6
A(T);
7
};
8
9
A a = 42;
10
A *ap = &a; // { dg-error "placeholder" }