gcc/testsuite/g++.dg/cpp/embed-8.C
raw| 1 | // This is a comment with some UTF-8 non-ASCII characters: áéíóú. |
| 2 | // { dg-do compile { target c++11 } } |
| 3 | // { dg-options "-Wno-narrowing -Wconversion" } |
| 4 | |
| 5 | const signed char a[] = { |
| 6 | #embed __FILE__ |
| 7 | }; // { dg-warning "conversion from 'int' to 'const signed char' changes value from '\[12]\[0-9]\[0-9]' to '-\[0-9]\[0-9]*'" } |