mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
18 lines
203 B
D
18 lines
203 B
D
module bug27;
|
|
|
|
int func(int a, int b)
|
|
{
|
|
if (a == b)
|
|
return 0;
|
|
else if (a < b)
|
|
return -1;
|
|
else
|
|
return 1;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
int i = func(3,4);
|
|
assert(i == -1);
|
|
}
|