mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-22 21:30:18 +02:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
module terms;
|
||||
|
||||
void f()
|
||||
{
|
||||
int i = 42;
|
||||
if (i > 25)
|
||||
return;
|
||||
if (i < 25) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (i > 100)
|
||||
return;
|
||||
else
|
||||
return;
|
||||
|
||||
if (i < 1000) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
int i = 42;
|
||||
if (i > 25)
|
||||
return;
|
||||
if (i < 25) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (i > 100)
|
||||
return;
|
||||
else
|
||||
return;
|
||||
|
||||
if (i < 1000) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user