[Bug 104] New: Forward reference error occurs when the -g switch is invoked

Thomas Kuehne thomas-dloop at kuehne.cn
Fri Apr 14 03:30:48 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-04-13:
> The following code compiles fine with 'dmd -c bug.d', but gives a forward
> reference error when compiled as 'dmd -c -g bug.d'
>
> -- bug.d ----------------------------
>
> Foofunc f;
>
> alias int function(Foo) Foofunc;
>
> -------------------------------------

Added to DStress as
http://dstress.kuehne.cn/nocompile/a/alias_34_A.d
http://dstress.kuehne.cn/nocompile/a/alias_34_B.d
http://dstress.kuehne.cn/nocompile/t/typedef_15_A.d
http://dstress.kuehne.cn/nocompile/t/typedef_15_B.d

See also:
http://dstress.kuehne.cn/compile/a/alias_33_A.d
http://dstress.kuehne.cn/compile/a/alias_33_B.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEP3y33w+/yD4P9tIRAkB4AKDIqFQPqZq+iYIke3Vz6QQeHlGYlQCdGqsV
lXbrQNrZDd0VSW+YxTIPmHg=
=YKyT
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list