Skip to content

Commit

Permalink
Merge pull request #178 from dawgfoto/master
Browse files Browse the repository at this point in the history
fix failing test41
  • Loading branch information
WalterBright committed Jul 1, 2011
2 parents 68dedaa + 978632b commit 45c3006
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/runnable/imports/test41a.d
Expand Up @@ -5,8 +5,9 @@ void foo()
assert(false, "GO");
}

int i; // make func impure so it is not ctfed away
public void func(T)()
{
assert(false, "Blah");
assert(i, "Blah");
}

2 changes: 1 addition & 1 deletion test/runnable/test41.d
Expand Up @@ -14,7 +14,7 @@ int main()
catch (AssertError e)
{
}

try
{
func!(void)();
Expand Down

0 comments on commit 45c3006

Please sign in to comment.