Commit 5a0e7889 by Jakub Jelinek Committed by Jakub Jelinek

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

From-SVN: r242430
parent 22b15758
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.
......
......@@ -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();
......
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