mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
16 lines
205 B
D
16 lines
205 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag10099.d(15): Error: variable `diag10099.main.s` - default construction is disabled for type `S`
|
|
---
|
|
*/
|
|
|
|
struct S
|
|
{
|
|
@disable this();
|
|
}
|
|
|
|
void main()
|
|
{
|
|
S s;
|
|
}
|