Fix invalid dg-do directives in libstdc++ tests

* testsuite/22_locale/conversions/string/1.cc: Remove unintended
	dg-do compile directive.
	* testsuite/26_numerics/headers/cmath/fabs_inline.cc: Fix syntax of
	dg-do directive.
	* testsuite/26_numerics/valarray/const_bracket.cc: Likewise.

From-SVN: r238834
This commit is contained in:
Jonathan Wakely 2016-07-28 22:00:19 +01:00 committed by Jonathan Wakely
parent c851722d5a
commit 2de6b25424
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2016-07-28 Jonathan Wakely <jwakely@redhat.com>
* testsuite/22_locale/conversions/string/1.cc: Remove unintended
dg-do compile directive.
* testsuite/26_numerics/headers/cmath/fabs_inline.cc: Fix syntax of
dg-do directive.
* testsuite/26_numerics/valarray/const_bracket.cc: Likewise.
2016-07-28 Ville Voutilainen <ville.voutilainen@gmail.com>
Implement std::string_view and P0254r2,

View File

@ -1,4 +1,3 @@
// { dg-do compile }
// { dg-options "-std=gnu++11" }
// Copyright (C) 2015-2016 Free Software Foundation, Inc.

View File

@ -17,7 +17,7 @@
// Test to see whether the host provides its own (inline) view of fabs.
// Origin: Kurt Garloff <kurt@garloff.de>, 2001-05-24
// dg-do link
// { dg-do link }
#include <cmath>
#include <cstdio>

View File

@ -20,7 +20,7 @@
#include <valarray>
// dg-do compile
// { dg-do compile }
template<typename P>
void copy(P, std::size_t) { }