Mercurial > projects > ldc
annotate test/bug74.d @ 119:79c9ac745fbc trunk
[svn r123] Fixed some typeinfo module name mismatches.
Fixed D-style varargs returning through pointer.
Fixed converting nested function to delegate.
Added std.string and std.format to Phobos.
author | lindquist |
---|---|
date | Mon, 26 Nov 2007 06:45:13 +0100 |
parents | |
children |
rev | line source |
---|---|
lindquist@119 | 1 module bug74; |
lindquist@119 | 2 |
lindquist@119 | 3 char[] sformat(char[] s, ...) |
lindquist@119 | 4 { |
lindquist@119 | 5 TypeInfo[] ti = _arguments; |
lindquist@119 | 6 void* args = _argptr; |
lindquist@119 | 7 return ""; |
lindquist@119 | 8 } |
lindquist@119 | 9 |
lindquist@119 | 10 void main() |
lindquist@119 | 11 { |
lindquist@119 | 12 } |