Skip to content

Commit

Permalink
Merge pull request #706 from yebblies/issue4269x
Browse files Browse the repository at this point in the history
Restore tests that were accidentally removed.
  • Loading branch information
WalterBright committed Feb 11, 2012
2 parents 4cc9491 + 221ad26 commit ae73e0e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/fail_compilation/fail4269e.d
@@ -0,0 +1,5 @@

static if(is(typeof(X5.init))) {}
typedef Y X5;

void main() {}
5 changes: 5 additions & 0 deletions test/fail_compilation/fail4269f.d
@@ -0,0 +1,5 @@

static if(is(typeof(X16))) {}
alias X16 X16;

void main() {}
6 changes: 6 additions & 0 deletions test/fail_compilation/fail4269g.d
@@ -0,0 +1,6 @@

int[2] d;
static if(is(typeof(Xg.init))) {}
alias d[1] Xg;

void main() {}

0 comments on commit ae73e0e

Please sign in to comment.