Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions test/runnable/betterc.d
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ extern (C) void main()
{
test(1);
test18472();
test18828();
}

/*******************************************/
Expand Down Expand Up @@ -69,3 +70,14 @@ struct S18493_2
S18493 s1;
S18493 s2;
}

/*******************************************/
// https://issues.dlang.org/show_bug.cgi?id=18828

struct S18828 { }

void test18828()
{
S18828 s;
destroy(s);
}