Mercurial > projects > ldc
view tests/mini/templ1.d @ 657:c42173b3557b
Removed some checks for abstract llvm types that were too strict, a 'opaque* null' is a valid initializer... when structs in D can be just a forward reference.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 06 Oct 2008 14:37:00 +0200 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module templ1; T func1(T)(T a) { static T b = a; return b; } void main() { }