dmd/compiler/test/runnable/bom_UTF32.d
Iain Buclaw a6f1083699 test: Reorganize the unicode tests so those with BOMs are identifiable by name
- Many tests needlessly had a UTF-8 BOM, these have been removed.
- compilable/ddoc12.d has been renamed to compilable/ddoc_bom_UTF8.d.
- runnable/*UTF*.d tests have been renamed to runnable/bom_UTF*.d.
- The 'helloUTF8.d' test didn't have a UTF-8 BOM, this has been added.
2024-02-03 11:14:15 +01: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;
}