This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++17] Implement N3928 - Extending static_assert


Hi,

On 06/24/2015 05:32 PM, Ed Smith-Rowland wrote:
Index: testsuite/g++.dg/cpp1z/static_assert-nomsg.C
===================================================================
--- testsuite/g++.dg/cpp1z/static_assert-nomsg.C	(revision 0)
+++ testsuite/g++.dg/cpp1z/static_assert-nomsg.C	(working copy)
@@ -0,0 +1,27 @@
+// { dg-do compile { target c++1z } }
As far as I can see, we can't really use this syntax in the cpp1z directory: the testcase is effectively skipped. Indeed, we don't use it anywhere else. I'm going to replace it with the straightforward:

// { dg-options "-std=c++1z" }

Thanks,
Paolo.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]