target-supports.exp (check_effective_target_shared): New function.
authorChristophe Lyon <christophe.lyon@linaro.org>
Sat, 11 Oct 2014 11:33:37 +0000 (11:33 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Sat, 11 Oct 2014 11:33:37 +0000 (13:33 +0200)
commit1665db4dbd2b04ed42f094b399db251bb2f8b839
tree9394ce08af649aa73724e4bc6e984408bfc14bb8
parent51115027530f64fe29b5c755a161581658a32c38
target-supports.exp (check_effective_target_shared): New function.

2014-10-11  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* lib/target-supports.exp (check_effective_target_shared): New
function.
        * g++.dg/ipa/devirt-28a.C: Check if -shared is supported.

From-SVN: r216117
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-28a.C
gcc/testsuite/lib/target-supports.exp