aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp/embed-7.C
blob: ac88b8277475031fab7b4c0314751635467d1a2e (plain)
1
2
3
4
5
6
7
// This is a comment with some UTF-8 non-ASCII characters: áéíóú.
// { dg-do compile { target c++11 } }
// { dg-options "" } */

const signed char a[] = {
#embed __FILE__
};	// { dg-error "narrowing conversion of '\[12]\[0-9]\[0-9]' from 'int' to 'const signed char'" }