mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00

- 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.
11 lines
281 B
D
11 lines
281 B
D
// REQUIRED_ARGS: -c -o-
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/gag4269f.d(11): Error: undefined identifier `Y9`, did you mean interface `X9`?
|
|
fail_compilation/gag4269f.d(11): Error: field `y` not allowed in interface
|
|
---
|
|
*/
|
|
|
|
static if(is(typeof(X9.init))) {}
|
|
interface X9 { Y9 y; }
|