https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865

--- Comment #6 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
also the -fno-extended-identifiers option is broken:

cat test1.cc
// \u00e4 = ä, \u00f6 = ö, \u00fc = ü, \u00df = ß
int test\u00e4\u00f6\u00fc\u00df ()
{
  return 0;
}

gcc -fno-extended-identifiers -c test1.cc
compiles OK (which is actually wrong)

gcc -std=gnu++14 -fno-extended-identifiers -c test1.cc
test1.cc:2:9: error: stray '\' in program
 int test\u00e4\u00f6\u00fc\u00df ()
         ^
test1.cc:2:15: error: stray '\' in program
 int test\u00e4\u00f6\u00fc\u00df ()
               ^
test1.cc:2:21: error: stray '\' in program
 int test\u00e4\u00f6\u00fc\u00df ()
                     ^
test1.cc:2:27: error: stray '\' in program
 int test\u00e4\u00f6\u00fc\u00df ()
                           ^
test1.cc:2:10: error: expected initializer before 'u00e4'
 int test\u00e4\u00f6\u00fc\u00df ()
          ^~~~~

Reply via email to