Skip to content

Commit

Permalink
Add mandatory -d
Browse files Browse the repository at this point in the history
  • Loading branch information
Don Clugston committed Sep 21, 2011
1 parent a267c7f commit 213af7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/fail_compilation/fail121.d
@@ -1,4 +1,5 @@
// compile with -d
// REQUIRED_ARGS: -d
// segfault on DMD0.150, never failed if use typeid() instead.

struct myobject
{
Expand All @@ -12,5 +13,5 @@ void foo()
{
int i;

list[1].typeinfo=i.typeinfo;
list[1].typeinfo = i.typeinfo;
}

0 comments on commit 213af7a

Please sign in to comment.