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
This commit is contained in:
Adam Butcher 2013-11-14 08:26:21 +00:00 committed by Adam Butcher
parent a39ed7e957
commit d43d39ab6d
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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>
PR target/59101

View File

@ -0,0 +1,7 @@
// PR c++/58533
// { dg-options "-std=gnu++1y" }
void foo()
{
void (*fp)(auto); // { dg-error "template" }
}