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-deduction55.C
blob
74fd29f66dc4517e809ad8e27b42ce2bf627a5ba
1
// PR c++/85883
2
// { dg-do compile { target c++17 } }
3
4
template <typename T>
5
struct Bar
6
{
7
Bar(T) { }
8
};
9
10
int
11
main ()
12
{
13
auto x = Bar(1);
14
auto y = new Bar(3);
15
}