summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-08-02 14:32:26 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2016-08-02 14:32:26 +0100
commit807bd0963e54b755ab053e5d1c0cceaffb616570 (patch)
tree6181d61607813123f2920b8c450e6306d3fd6016 /libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c
parent8c65cd3054311e3131dcd3fd3f3af9a1872a7ae5 (diff)
downloadgcc-807bd0963e54b755ab053e5d1c0cceaffb616570.tar.gz
Skip C tests if test flags include C++ options
* testsuite/18_support/bad_exception/23591_thread-1.c: Skip test if options are present that aren't valid for C. * testsuite/abi/header_cxxabi.c: Likewise. From-SVN: r238988
Diffstat (limited to 'libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c')
-rw-r--r--libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c b/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c
index fd1a76cbd31..6e5138b27d9 100644
--- a/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c
+++ b/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c
@@ -1,4 +1,5 @@
// { dg-require-sharedlib "" }
+// { dg-skip-if "invalid options for C" { *-*-* } { "-std=c++??" "-std=gnu++??" } }
// { dg-options "-g -O2 -pthread -ldl -x c -fvtable-verify=none -Wno-pedantic" { target *-*-linux* *-*-gnu* *-*-solaris2.1[2-9]* } }
// Copyright (C) 2005-2016 Free Software Foundation, Inc.