* g++.dg/template/char1.C: Use signed char.

From-SVN: r169082
This commit is contained in:
Rainer Orth 2011-01-21 11:36:53 +00:00 committed by Rainer Orth
parent 1dd584a2d7
commit f316861a04
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/template/char1.C: Use signed char.
2011-01-21 Tobias Burnus <burnus@net-b.de>
PR fortran/47377

View File

@ -1,4 +1,4 @@
template <class CharType, CharType line_terminator = 0>
class String {};
String<char, 255> s; // { dg-warning "overflow" }
String<signed char, 255> s; // { dg-warning "overflow" }