Skip to content

Commit

Permalink
fix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Feb 28, 2012
1 parent 461649b commit ca0d71c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/runnable/testconst.d
Expand Up @@ -2497,21 +2497,21 @@ void test7202()
/************************************/
// 7554

T outer7554(T)(immutable T function(T) pure foo) pure {
pure int inner() {
return foo(5);
}
return inner();
}
int sqr7554(int x) pure {
return x * x;
}
T outer7554(T)(immutable T function(T) pure foo) pure {
pure int inner() {
return foo(5);
}
return inner();
}
int sqr7554(int x) pure {
return x * x;
}
void test7554()
{
assert(outer7554(&sqr7554) == 25);
{
assert(outer7554(&sqr7554) == 25);

immutable(int function(int) pure) ifp = &sqr7554;
}
immutable(int function(int) pure) ifp = &sqr7554;
}

/************************************/

Expand Down

0 comments on commit ca0d71c

Please sign in to comment.