dmd/compiler/test/runnable/testUTF32.d
2022-07-09 18:53:07 +02:00

12 lines
No EOL
836 B
D
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<EFBFBD><EFBFBD>// encoding :utf-32le-bom
int main(){
assert('y'== 0x79);
assert('<EFBFBD>'== 0x80);
assert('<EFBFBD>'== 0x799);
assert(''== 0x800);
assert('<EFBFBD><EFBFBD>'== 0xFFFA);
assert(''== 0x10000);
assert('<EFBFBD>'== 0x10FFD);
return 0;
}