* testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): Use
delete[] instead of delete.
From-SVN: r238632
+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
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 "}"