Alessandro Bonazzi
e075990ed3
Files correlati : Commento : Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
11 lines
393 B
C
11 lines
393 B
C
/* e_32_5.c: Range error of character constant. */
|
|
|
|
/* { dg-do preprocess } */
|
|
|
|
/* 32.5: Value of a numerical escape sequence in character constant should
|
|
be in the range of char. */
|
|
/* Out of range */
|
|
#if '\x123' == 0x123 /* { dg-error "escape sequence out of range| hex character constant does not fit in a byte| 8 bits can't represent escape sequence" } */
|
|
#endif
|
|
|