Commit 07045595 by Marek Polacek Committed by Marek Polacek

Add test for c++/92451.

This was ICEing from r277865 to r278786.

	* g++.dg/overload/error4.C: New test.

From-SVN: r279067
parent 94a0f396
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.
......
// PR c++/92451
template<typename T> struct Local {};
void f() {
Local(int); // { dg-error "" }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment