Commit 4407c309 by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/70100 (ICE: in execute, at cfgexpand.c:6066)

	PR middle-end/70100
	* g++.dg/opt/pr70100.C: New test.

From-SVN: r253611
parent 7094f0d3
2017-10-10 Jakub Jelinek <jakub@redhat.com>
PR middle-end/70100
* g++.dg/opt/pr70100.C: New test.
PR c++/68252
* g++.dg/other/pr68252.C: New test.
......
// PR middle-end/70100
// { dg-do compile { target c++11 } }
// { dg-options "-O0" }
void
bar (int)
{
}
template <typename ... Args>
void
foo (Args && ... args)
{
[&] { [&] { bar(args...); }; };
}
int
main ()
{
foo (2);
}
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