* g++.dg/cpp1y/auto-fn33.C (main): Turn // error: ... into dg-bogus.
authorJakub Jelinek <jakub@redhat.com>
Tue, 15 Nov 2016 15:54:29 +0000 (16:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 15 Nov 2016 15:54:29 +0000 (16:54 +0100)
From-SVN: r242430

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/auto-fn33.C

index 6d4034a6463e1e343830e7444307a89cc2f66044..3600f9461cee909ff8e9f493573a6e04a42319e4 100644 (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.
 
index cfd849815034ae47007d9a476bd4e3b1221f2a62..0418f7eb9535d78a7a87591348cf801255777281 100644 (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();