mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-23 04:21:50 +01:00
[svn r44] Lots of bug fixes.
New array literal support New array ~= operator support (for single element) New with statement support More...
This commit is contained in:
8
test/cond1.d
Normal file
8
test/cond1.d
Normal file
@@ -0,0 +1,8 @@
|
||||
module cond1;
|
||||
|
||||
void main()
|
||||
{
|
||||
double a = 2;
|
||||
double b = 4;
|
||||
double c = (a > 0) ? a : b;
|
||||
}
|
||||
Reference in New Issue
Block a user