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 dc42ee4..42372b1 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 c61f7b0..8c0061e 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 fbc3744..b0e6e28 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>"