mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-27 22:35:37 +08:00
* g++.dg/warn/Wconversion1.C: Use -fsigned-char.
From-SVN: r105694
This commit is contained in:
parent
7fbb9252a2
commit
6afbb1cd9b
@ -1,3 +1,7 @@
|
||||
2005-10-21 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* g++.dg/warn/Wconversion1.C: Use -fsigned-char.
|
||||
|
||||
2005-10-20 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR middle-end/24295
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-options "-Wconversion" }
|
||||
// { dg-options "-fsigned-char -Wconversion" }
|
||||
|
||||
char c1 = 1024; // { dg-warning "overflow" }
|
||||
char c2 = char(1024);
|
||||
|
Loading…
Reference in New Issue
Block a user