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
* g++.dg/template/crash126.C: Second error doesn't apply to C++17.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash126.C
blob
903cab85cd282a60d6147f82e15f297a602d36ab
1
// PR c++/80186
2
3
template < class T, class > struct A
4
{
5
A ();
6
A (A &);
7
A (A < T, T >); // { dg-error "invalid constructor" }
8
};
9
10
void f ()
11
{
12
A < int, int > (A < int, int >()); // { dg-error "cannot bind" "" { target c++14_down } }
13
}