Commit d43d39ab by Adam Butcher Committed by Adam Butcher

Added testcase for 58533, fixed by rev 204714.

gcc/testsuite/
	PR c++/58533
	* g++.dg/cpp1y/pr58533.C: New testcase (fixed by r204714).

From-SVN: r204776
parent a39ed7e9
2013-11-14 Adam Butcher <adam@jessamine.co.uk>
PR c++/58533
* g++.dg/cpp1y/pr58533.C: New testcase (fixed by r204714).
2013-11-14 Jakub Jelinek <jakub@redhat.com> 2013-11-14 Jakub Jelinek <jakub@redhat.com>
PR target/59101 PR target/59101
......
// PR c++/58533
// { dg-options "-std=gnu++1y" }
void foo()
{
void (*fp)(auto); // { dg-error "template" }
}
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