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-deduction8.C
blob
9836e26d8bbd952ed3521c05ca1df75869954def
1
// { dg-options -std=c++17 }
2
3
template <class T>
4
struct A
5
{
6
int i;
7
A(...); // { dg-message "candidate" }
8
};
9
10
A a(42); // { dg-error "" }
11
12
template <class T>
13
A(T) -> A<T>;
14
15
A a2(42);