Add test for c++/92451.
This was ICEing from r277865 to r278786. * g++.dg/overload/error4.C: New test. From-SVN: r279067
This commit is contained in:
parent
94a0f396ea
commit
070455950d
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2019-12-06 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/92451
|
||||
* g++.dg/overload/error4.C: New test.
|
||||
|
||||
2019-12-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* g++.dg/cpp2a/feat-cxx2a.C: Don't test __cpp_consteval for now.
|
||||
|
|
6
gcc/testsuite/g++.dg/overload/error4.C
Normal file
6
gcc/testsuite/g++.dg/overload/error4.C
Normal file
|
@ -0,0 +1,6 @@
|
|||
// PR c++/92451
|
||||
|
||||
template<typename T> struct Local {};
|
||||
void f() {
|
||||
Local(int); // { dg-error "" }
|
||||
}
|
Loading…
Add table
Reference in a new issue