mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
14 lines
284 B
D
14 lines
284 B
D
/*
|
|
EXTRA_FILES: imports/a10169.d
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag10169.d(13): Error: no property `x` for `B(0)` of type `imports.a10169.B`
|
|
fail_compilation/imports/a10169.d(3): struct `B` defined here
|
|
---
|
|
*/
|
|
import imports.a10169;
|
|
|
|
void main()
|
|
{
|
|
auto a = B.init.x;
|
|
}
|