Commit 960637ac by Jonathan Wakely Committed by Jonathan Wakely

Use correct form of delete in libstdc++.exp

	* testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): Use
	delete[] instead of delete.

From-SVN: r238632
parent 6781e2af
2016-07-22 Jonathan Wakely <jwakely@redhat.com>
* testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): Use
delete[] instead of delete.
2016-07-21 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/propagate_const (propagate_const::__t): Rename
......
......@@ -936,13 +936,13 @@ proc check_v3_target_namedlocale { args } {
puts $f " try"
puts $f " {"
puts $f " locale((const char*)namedloc);"
puts $f " delete namedloc;"
puts $f " delete\[\] namedloc;"
puts $f " return 0;"
puts $f " }"
puts $f " catch(...)"
puts $f " {"
puts $f " printf(\"locale '%s' not supported\\n\", namedloc);"
puts $f " delete namedloc;"
puts $f " delete\[\] namedloc;"
puts $f " return 1;"
puts $f " }"
puts $f "}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment