Skip to content

Commit

Permalink
Move issue 6766 test case to compilable/testfwdref.d
Browse files Browse the repository at this point in the history
  • Loading branch information
9rnsr committed Mar 29, 2015
1 parent 048dbec commit 7d3e1fb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/compilable/fwdref6766.d

This file was deleted.

15 changes: 15 additions & 0 deletions test/compilable/testfwdref.d
@@ -1,5 +1,20 @@
// PERMUTE_ARGS:

/***************************************************/
// 6766

class Foo6766
{
this(int x) { }
void test(Foo6766 foo = new Foo6766(1)) { }
}

struct Bar6766
{
this(int x) { }
void test(Bar6766 bar = Bar6766(1)) { }
}

/***************************************************/
// 12152

Expand Down

0 comments on commit 7d3e1fb

Please sign in to comment.