aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-08-01 13:18:23 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2016-08-01 13:18:23 +0100
commit7481147265a13c906467edec41927b3f106fe558 (patch)
tree47117a51ef9506ec429db9f010e9b6ad18f3c1e2
parenta02a61eeaa57db3ccd7a89e64ad3595e0b259a7d (diff)
downloadgcc-7481147265a13c906467edec41927b3f106fe558.zip
gcc-7481147265a13c906467edec41927b3f106fe558.tar.gz
gcc-7481147265a13c906467edec41927b3f106fe558.tar.bz2
Remove "-x c" from dg-options in libstdc++ C++ test
* testsuite/17_intro/freestanding.cc: Remove "-x c" from dg-options. From-SVN: r238946
-rw-r--r--libstdc++-v3/ChangeLog2
-rw-r--r--libstdc++-v3/testsuite/17_intro/freestanding.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 328e96a..94065d6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,7 @@
2016-08-01 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/17_intro/freestanding.cc: Remove "-x c" from dg-options.
+
* testsuite/20_util/tuple/cons/66338.cc: Limit test to C++11 and
later.
* testsuite/20_util/tuple/cons/element_accepts_anything_byval.cc:
diff --git a/libstdc++-v3/testsuite/17_intro/freestanding.cc b/libstdc++-v3/testsuite/17_intro/freestanding.cc
index d0674dd..98e1d6c6 100644
--- a/libstdc++-v3/testsuite/17_intro/freestanding.cc
+++ b/libstdc++-v3/testsuite/17_intro/freestanding.cc
@@ -1,4 +1,4 @@
-// { dg-options "-x c -std=gnu++11 -lsupc++ -fvtable-verify=none" }
+// { dg-options "-std=gnu++11 -lsupc++ -fvtable-verify=none" }
// Copyright (C) 2010-2016 Free Software Foundation, Inc.
//