mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
14 lines
189 B
D
14 lines
189 B
D
module neg;
|
|
|
|
void main()
|
|
{
|
|
int i = 32;
|
|
long l = 55;
|
|
float f = 23;
|
|
double d = 4;
|
|
assert(-i == -32);
|
|
assert(-l == -55);
|
|
assert(-f == -23);
|
|
assert(-d == -4);
|
|
}
|