From: Jonathan Wakely Date: Tue, 23 Aug 2016 10:13:31 +0000 (+0100) Subject: Use dg-do preprocess instead of compile for tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=457c4a3fd203e5aebd152525f2498825e5fac4de;p=gcc.git Use dg-do preprocess instead of compile for tests * testsuite/experimental/feat-cxx14.cc: Only preprocess, not compile. * testsuite/experimental/feat-lib-fund.cc: Likewise. From-SVN: r239692 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index dc42ee466c4..42372b193e9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-08-23 Jonathan Wakely + * 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, reverse_iterator): Only diff --git a/libstdc++-v3/testsuite/experimental/feat-cxx14.cc b/libstdc++-v3/testsuite/experimental/feat-cxx14.cc index c61f7b00f68..8c0061eddbf 100644 --- a/libstdc++-v3/testsuite/experimental/feat-cxx14.cc +++ b/libstdc++-v3/testsuite/experimental/feat-cxx14.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do preprocess { target c++14 } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/feat-lib-fund.cc b/libstdc++-v3/testsuite/experimental/feat-lib-fund.cc index fbc37447076..b0e6e289009 100644 --- a/libstdc++-v3/testsuite/experimental/feat-lib-fund.cc +++ b/libstdc++-v3/testsuite/experimental/feat-lib-fund.cc @@ -1,5 +1,4 @@ -// { dg-options "-std=gnu++14" } -// { dg-do compile } +// { dg-do preprocess { target c++14 } } #if !__has_include() # error ""