Skip to content

Commit

Permalink
Move broken fail test, into compile test
Browse files Browse the repository at this point in the history
I confirmed that this reduced test ICEs on DMD0.110. But it passes on D2.
  • Loading branch information
Don Clugston committed Sep 21, 2011
1 parent a70ce7f commit a8effd5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
16 changes: 16 additions & 0 deletions test/compilable/test69.d
@@ -1,5 +1,21 @@
// PERMUTE_ARGS:

// ICE(expression.c) DMD 0.110
// http://www.digitalmars.com/d/archives/digitalmars/D/bugs/2966.html

string str255() { return "\255"; }
void fromFail49()
{
switch("abc")
{
case "":
case str255():
break;
default:
break;
}
}

// Bugzilla 5735

struct A {}
Expand Down
14 changes: 0 additions & 14 deletions test/fail_compilation/fail49.d

This file was deleted.

0 comments on commit a8effd5

Please sign in to comment.