blob: 1dc65e3624b40afadc711917adafd8fa660cc276 [file] [log] [blame]
// P2295R6 - Support for UTF-8 as a portable source file encoding
// This test intentionally contains various byte sequences which are not valid UTF-8
// { dg-do preprocess }
// { dg-options "-finput-charset=UTF-8 -pedantic-errors -Wno-invalid-utf8" }
// a€߿ࠀ퟿𐀀􏿿a { dg-bogus "invalid UTF-8 character" }
// a€a { dg-bogus "invalid UTF-8 character <80>" }
// a¿a { dg-bogus "invalid UTF-8 character <bf>" }
// aÀa { dg-bogus "invalid UTF-8 character <c0>" }
// aÁa { dg-bogus "invalid UTF-8 character <c1>" }
// aõa { dg-bogus "invalid UTF-8 character <f5>" }
// aÿa { dg-bogus "invalid UTF-8 character <ff>" }
// aÂa { dg-bogus "invalid UTF-8 character <c2>" }
// aàa { dg-bogus "invalid UTF-8 character <e0>" }
// aà€¿a { dg-bogus "invalid UTF-8 character <e0><80><bf>" }
// aàŸ€a { dg-bogus "invalid UTF-8 character <e0><9f><80>" }
// aà¿a { dg-bogus "invalid UTF-8 character <e0><bf>" }
// aì€a { dg-bogus "invalid UTF-8 character <ec><80>" }
// aí €a { dg-bogus "invalid UTF-8 character <ed><a0><80>" }
// að€€€a { dg-bogus "invalid UTF-8 character <f0><80><80><80>" }
// að¿¿a { dg-bogus "invalid UTF-8 character <f0><8f><bf><bf>" }
// aô€€a { dg-bogus "invalid UTF-8 character <f4><90><80><80>" }
// aý¿¿¿¿¿a { dg-bogus "invalid UTF-8 character <fd><bf><bf><bf>" }
// { dg-bogus "invalid UTF-8 character <bf>" "" { target *-*-* } .-1 }
/* a€߿ࠀ퟿𐀀􏿿a { dg-bogus "invalid UTF-8 character" } */
/* a€a { dg-bogus "invalid UTF-8 character <80>" } */
/* a¿a { dg-bogus "invalid UTF-8 character <bf>" } */
/* aÀa { dg-bogus "invalid UTF-8 character <c0>" } */
/* aÁa { dg-bogus "invalid UTF-8 character <c1>" } */
/* aõa { dg-bogus "invalid UTF-8 character <f5>" } */
/* aÿa { dg-bogus "invalid UTF-8 character <ff>" } */
/* aÂa { dg-bogus "invalid UTF-8 character <c2>" } */
/* aàa { dg-bogus "invalid UTF-8 character <e0>" } */
/* aà€¿a { dg-bogus "invalid UTF-8 character <e0><80><bf>" } */
/* aàŸ€a { dg-bogus "invalid UTF-8 character <e0><9f><80>" } */
/* aà¿a { dg-bogus "invalid UTF-8 character <e0><bf>" } */
/* aì€a { dg-bogus "invalid UTF-8 character <ec><80>" } */
/* aí €a { dg-bogus "invalid UTF-8 character <ed><a0><80>" } */
/* að€€€a { dg-bogus "invalid UTF-8 character <f0><80><80><80>" } */
/* að¿¿a { dg-bogus "invalid UTF-8 character <f0><8f><bf><bf>" } */
/* aô€€a { dg-bogus "invalid UTF-8 character <f4><90><80><80>" } */
/* aý¿¿¿¿¿a { dg-bogus "invalid UTF-8 character <fd><bf><bf><bf>" } */
/* { dg-bogus "invalid UTF-8 character <bf>" "" { target *-*-* } .-1 } */