dmd/compiler/test/fail_compilation/gag4269a.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

13 lines
192 B
D

// REQUIRED_ARGS: -c -o-
/*
TEST_OUTPUT:
---
fail_compilation/gag4269a.d(12): Error: undefined identifier `B`
---
*/
static if(is(typeof(A4269.sizeof))) {}
class A4269
{
void foo(B b);
}