diff mbox

[testsuite] : Fix yet another test case that breaks on int16 platforms

Message ID 4F10032C.3040101@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay Jan. 13, 2012, 10:10 a.m. UTC
Similar to fix for gcc.dg/cpp/warn-multichar-2.c: It's sifficient to have a
2-letter constant.

Ok to apply?

Johann

	* gcc.dg/cpp/warn-multichar.c: Fix to work on int=16 platforms.

Comments

Mike Stump Jan. 13, 2012, 4:50 p.m. UTC | #1
On Jan 13, 2012, at 2:10 AM, Georg-Johann Lay wrote:
> Similar to fix for gcc.dg/cpp/warn-multichar-2.c: It's sifficient to have a
> 2-letter constant.
> 
> Ok to apply?

Ok.
diff mbox

Patch

Index: gcc.dg/cpp/warn-multichar.c
===================================================================
--- gcc.dg/cpp/warn-multichar.c (revision 183150)
+++ gcc.dg/cpp/warn-multichar.c (working copy)
@@ -1,5 +1,5 @@ 
 // { dg-do preprocess }
 // { dg-options "-std=gnu99 -fdiagnostics-show-option -Wmultichar" }

-#if 'abc'  // { dg-warning "multi-character character constant .-Wmultichar." }
+#if 'ab'  // { dg-warning "multi-character character constant .-Wmultichar." }
 #endif