Mercurial > projects > dstress
diff run/version_02.d @ 247:3bc2f45a191f
disabled unoffical version identifiers "Unix" and "darwin"
author | thomask |
---|---|
date | Mon, 24 Jan 2005 20:07:40 +0000 |
parents | 014844597bbd |
children | 21efb6c131f1 |
line wrap: on
line diff
--- a/run/version_02.d Sun Jan 23 18:57:23 2005 +0000 +++ b/run/version_02.d Mon Jan 24 20:07:40 2005 +0000 @@ -1,3 +1,4 @@ +module dstress.run.version_02; int main(){ int os; @@ -15,15 +16,15 @@ } version(linux){ - os=+3; + os++; } version(darwin){ - os=+3; + os+=99; // this isn't part of the standard (v0.111) } version(Unix){ - os=-2; + os+=99; // this isn't part of the standard (v0.111) } assert(os == 1);