diff mbox

[GCC/testsuite] Fix PR78269: noexcept-type9.C should be a compile test

Message ID 313a92bc-996a-6ae9-1c70-a8121924f617@foss.arm.com
State New
Headers show

Commit Message

Thomas Preudhomme Nov. 9, 2016, 10:51 a.m. UTC
g++.dg/cpp1z/noexcept-type9.C contains a dg-error but is currently a runtime 
test. The intent was clearly to make it a compile test to test that error, 
especially since there is no main. This patch changes it to a compile test.

ChangeLog entry is as follows:

*** gcc/testsuite/ChangeLog ***

2016-11-09  Thomas Preud'homme  <thomas.preudhomme@arm.com>

         PR testsuite/78269
         * g++.dg/cpp1z/noexcept-type9.C: Make it a compile test.


Applied as obvious.

Best regards,

Thomas
diff mbox

Patch

diff --git a/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C b/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C
index 4547c4cc4d3c2bf3f7e049b4e6c1179b85982a62..a29618a3001266b003ab966daa80ca5e8d5020da 100644
--- a/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C
+++ b/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C
@@ -1,6 +1,6 @@ 
 // Test for PMF template args.
 // { dg-options -std=c++1z }
-// { dg-do run }
+// { dg-do compile }
 
 struct A
 {