February 14, 2005 alias bug - assert at line 999 in 'func.c' | ||||
---|---|---|---|---|
| ||||
<code> void foo() {} int _foo; alias _foo foo; void main() { foo = 1; } </code> DMD 0.111 outputs: Assertion failure: '0' on line 909 in file 'func.c' abnormal program termination |
February 18, 2005 Re: alias bug - assert at line 999 in 'func.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Zaitseff Attachments: | Ilya Zaitseff wrote: | <code> | void foo() {} | int _foo; | alias _foo foo; | | void main() | { | foo = 1; | } | </code> | | DMD 0.111 outputs: | | Assertion failure: '0' on line 909 in file 'func.c' | | abnormal program termination Added to DStress as http://dstress.kuehne.cn/nocompile/alias_17.d Thomas |
Copyright © 1999-2021 by the D Language Foundation