Skip to content

Commit

Permalink
Move issue 9401 test case to compilable/testparse.d
Browse files Browse the repository at this point in the history
  • Loading branch information
9rnsr committed Mar 29, 2015
1 parent bd0385c commit 0a01e94
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/compilable/parse9401.d

This file was deleted.

19 changes: 19 additions & 0 deletions test/compilable/testparse.d
Expand Up @@ -23,3 +23,22 @@ void test9232()
foo.bar!int(); // OK
(foo).baz(); // OK
}

/***************************************************/
// 9401

struct S9401a
{
~this() nothrow pure @safe { }
}

struct S9401b
{
@safe ~this() pure nothrow { }
}

void test9401() nothrow pure @safe
{
S9401a s1;
S9401b s2;
}

0 comments on commit 0a01e94

Please sign in to comment.