diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6d4034a6463e1e343830e7444307a89cc2f66044..3600f9461cee909ff8e9f493573a6e04a42319e4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/g++.dg/cpp1y/auto-fn33.C b/gcc/testsuite/g++.dg/cpp1y/auto-fn33.C index cfd849815034ae47007d9a476bd4e3b1221f2a62..0418f7eb9535d78a7a87591348cf801255777281 100644 --- a/gcc/testsuite/g++.dg/cpp1y/auto-fn33.C +++ b/gcc/testsuite/g++.dg/cpp1y/auto-fn33.C @@ -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();