Mercurial > projects > dstress
changeset 1466:d74530a60502
[Issue 992] export keyword causes undefined references on linux
<torhu@yahoo.com>
2007-01-31
http://d.puremagic.com/issues/show_bug.cgi?id=992
author | thomask |
---|---|
date | Thu, 05 Apr 2007 16:32:25 +0000 |
parents | b36225ffff87 |
children | c41d70e10b6f |
files | run/e/export_01_A.d |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/e/export_01_A.d Thu Apr 05 16:32:25 2007 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <torhu@yahoo.com> +// @date@ 2007-01-31 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=992 +// @desc@ [Issue 992] export keyword causes undefined references on linux + +module dstress.run.e.export_01_A; + +export int global_var = 0x12_34_AB_CD; + +int main(){ + if(0x12_34_AB_CD != global_var){ + assert(0); + } + return 0; +}