Use dg-do preprocess instead of compile for tests
authorJonathan Wakely <jwakely@redhat.com>
Tue, 23 Aug 2016 10:13:31 +0000 (11:13 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 23 Aug 2016 10:13:31 +0000 (11:13 +0100)
* testsuite/experimental/feat-cxx14.cc: Only preprocess, not compile.
* testsuite/experimental/feat-lib-fund.cc: Likewise.

From-SVN: r239692

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/feat-cxx14.cc
libstdc++-v3/testsuite/experimental/feat-lib-fund.cc

index dc42ee466c480c309d3b84d2441614f7dd8d9d55..42372b193e90ebc65ca92940339f8816131fbb19 100644 (file)
@@ -1,5 +1,8 @@
 2016-08-23  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/experimental/feat-cxx14.cc: Only preprocess, not compile.
+       * testsuite/experimental/feat-lib-fund.cc: Likewise.
+
        PR libstdc++/71771
        * include/bits/stl_iterator.h
        (operator-(reverse_iterator<Iter>, reverse_iterator<Iter>): Only
index c61f7b00f68757775be14923ce234775b7ec6fb6..8c0061eddbf427b61c60fa185e1b7d57ebfcaa6a 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++14" }
-// { dg-do compile }
+// { dg-do preprocess { target c++14 } }
 
 #include <utility>
 #include <tuple>
index fbc374470764134ce43890fe600430c67b2be8c4..b0e6e289009cc8d08aedc6fc936acdf14f099380 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-options "-std=gnu++14" }
-// { dg-do compile }
+// { dg-do preprocess { target c++14 } }
 
 #if !__has_include(<experimental/tuple>)
 #  error "<experimental/tuple>"