Skip to content

Commit

Permalink
add test cases for former checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jul 1, 2012
1 parent 08811d7 commit ea1f2c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runnable/xtest46.d
Expand Up @@ -3914,7 +3914,7 @@ template Mfp(alias foo)

class C157 {
int a = 3;
int foo(int j, int y) { return j + a + y; }
int foo(int i, int y) { return i + a + y; }
}

void test157()
Expand Down Expand Up @@ -5104,7 +5104,7 @@ void test8105()

template ParameterTypeTuple159(alias foo)
{
static if (is(typeof(foo) P == function))
static if (is(typeof(foo) P == __parameters))
alias P ParameterTypeTuple159;
else
static assert(0, "argument has no parameters");
Expand Down

0 comments on commit ea1f2c9

Please sign in to comment.