Skip to content

Commit

Permalink
Move test case for issue 10053 to runnable/sdtor.d
Browse files Browse the repository at this point in the history
Collecting tests for struct destructor into same file is useful.
  • Loading branch information
9rnsr committed May 10, 2013
1 parent c94a8d7 commit 65dfa73
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/compilable/test10053.d

This file was deleted.

14 changes: 14 additions & 0 deletions test/runnable/sdtor.d
Expand Up @@ -2692,6 +2692,20 @@ void test9994()
assert(S.dtor == 1);
}

/**********************************/
// 10053

struct S10053A
{
pure ~this() {}
}

struct S10053B
{
S10053A sa;
~this() {}
}

/**********************************/

int main()
Expand Down

0 comments on commit 65dfa73

Please sign in to comment.