On Tue, Apr 23, 2019 at 05:25:28PM +0200, Paolo Carlini wrote:
> /testsuite
> 2019-04-23  Paolo Carlini  <paolo.carl...@oracle.com>
> 
>       PR c++/90173
>       * g++.dg/cpp1z/class-deduction66.C: New.

The test fails everywhere if check-c++-all with:
+UNRESOLVED: g++.dg/cpp1z/class-deduction66.C  -std=c++17 compilation failed to 
produce executable
+UNRESOLVED: g++.dg/cpp1z/class-deduction66.C  -std=c++2a compilation failed to 
produce executable

Fixed thusly (the test doesn't have main and has dg-error), regtested on 
x86_64-linux,
committed to trunk as obvious:

2019-04-27  Jakub Jelinek  <ja...@redhat.com>

        PR c++/90173
        * g++.dg/cpp1z/class-deduction66.C: Use dg-do compile instead of
        dg-do run.

--- gcc/testsuite/g++.dg/cpp1z/class-deduction66.C.jj   2019-04-26 
17:37:45.171116666 +0200
+++ gcc/testsuite/g++.dg/cpp1z/class-deduction66.C      2019-04-27 
23:54:33.941071012 +0200
@@ -1,5 +1,5 @@
 // PR c++/90173
-// { dg-do run { target c++17 } }
+// { dg-do compile { target c++17 } }
 
 template <typename T> struct A { };
 

        Jakub

Reply via email to