Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr77520.c @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR c/77520 - wrong value for extended ASCII characters in -Wformat message |
2 Verify that characters in the extended ASCII range are quoted and not | |
3 allowed to be printed raw. */ | |
4 /* { dg-do compile } */ | |
5 /* { dg-options "-Wformat" } */ | |
6 | |
7 void f (void) | |
8 { | |
9 __builtin_printf ("%\x80"); /* { dg-warning "unknown conversion type character .\\\\x80. in format" } */ | |
10 } |