Testsuite: Mark check_effective_target_exceptions_enabled test as C++ test input.
authorTamar Christina <tamar.christina@arm.com>
Thu, 11 Jun 2020 17:19:44 +0000 (18:19 +0100)
committerTamar Christina <tamar.christina@arm.com>
Thu, 11 Jun 2020 17:19:44 +0000 (18:19 +0100)
commit8f896fe5cd5fd7162d2996d0c28a6e4647597c2b
tree987b469218815c16015400dac861a3a7b9ae5803
parent87af4f40453a9c84363bde5d9a58466de7fbee2e
Testsuite: Mark check_effective_target_exceptions_enabled test as C++ test input.

The test in check_effective_target_exceptions_enabled uses a C++ keyword `throw`
and the test fails with a syntax error on any non-g++ test.  I now tell the
testsuite driver that this is a C++ input file so it runs it as such in all the
drivers.

gcc/testsuite/ChangeLog:

* lib/target-supports.exp (check_effective_target_exceptions_enabled):
Mark as C++ test input.
gcc/testsuite/lib/target-supports.exp