Mercurial > projects > dstress
changeset 1189:16ecea326f8e
[Issue 418] New: -version=X and -debug=X command line arguments are rejected if the identifier begins with a non-ASCI letter
Thomas Kuehne <thomas-dloop@kuehne.cn>
2006-10-09
news:bug-418-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Thu, 12 Oct 2006 15:01:43 +0000 |
parents | e2141455b0e4 |
children | 165beb506ebf |
files | compile/d/debug_12_A.d compile/v/version_39_A.d |
diffstat | 2 files changed, 36 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/d/debug_12_A.d Thu Oct 12 15:01:43 2006 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> +// @date@ 2006-10-09 +// @uri@ news:bug-418-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 418] New: -version=X and -debug=X command line arguments are rejected if the identifier begins with a non-ASCI letter + +// __DSTRESS_DFLAGS__ -version=ö本 + +module dstress.compile.d.debug_12_A; + +version(ö本){ + // OK +}else{ + static assert(0); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/v/version_39_A.d Thu Oct 12 15:01:43 2006 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> +// @date@ 2006-10-09 +// @uri@ news:bug-418-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 418] New: -version=X and -debug=X command line arguments are rejected if the identifier begins with a non-ASCI letter + +// __DSTRESS_DFLAGS__ -version=ö本 + +module dstress.compile.v.version_39_A; + +version(ö本){ + // OK +}else{ + static assert(0); +}