* g++.dg/cpp1y/auto-fn33.C (main): Turn // error: ... into dg-bogus.

From-SVN: r242430
This commit is contained in:
Jakub Jelinek 2016-11-15 16:54:29 +01:00 committed by Jakub Jelinek
parent 22b15758c0
commit 5a0e788940
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2016-11-15 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cpp1y/auto-fn33.C (main): Turn // error: ... into dg-bogus.
PR c++/71988
* g++.dg/cpp0x/constexpr-71988.C: New test.

View file

@ -20,7 +20,7 @@ int main()
{
return 0;
self(); // error: use of 'decltype(auto) fix_type<Functor>::operator()() [with Functor = main()::<lambda(auto:1&)>]' before deduction of 'auto'
self(); // { dg-bogus "use of \[^\n\r]* before deduction of 'auto'" }
});
return zero();