mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-13 23:51:49 +01:00
[svn r5] Initial commit. Most things are very rough.
This commit is contained in:
14
test/condexp.d
Normal file
14
test/condexp.d
Normal file
@@ -0,0 +1,14 @@
|
||||
module condexp;
|
||||
|
||||
int f()
|
||||
{
|
||||
return 42;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
int i = f() < 25 ? -1 : 1;
|
||||
/*int j = f() > 25 ? 1 : -1;
|
||||
assert(i);
|
||||
assert(!j);*/
|
||||
}
|
||||
Reference in New Issue
Block a user