-# Copyright 2011 Free Software Foundation, Inc.
+# Copyright 2011-2019 Free Software Foundation, Inc.
#
# Contributed by Red Hat, originally written by Keith Seitz.
#
if {[skip_cplus_tests]} { continue }
# Tests for c++/12750
-set testfile "static-method"
-set srcfile $testfile.cc
+standard_testfile .cc
-if {[prepare_for_testing $testfile $testfile $srcfile {c++ debug}]} {
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile {c++ debug}]} {
return -1
}