Mercurial > projects > ldc
annotate test/bug76.d @ 120:5ce8ab11e75a trunk
[svn r124] Fixed another D vararg + return in ptr bug.
Fixed some nested function calls failed to resolve the context ptr.
author | lindquist |
---|---|
date | Mon, 26 Nov 2007 07:26:21 +0100 |
parents | |
children |
rev | line source |
---|---|
lindquist@120 | 1 module bug76; |
lindquist@120 | 2 char[] fmt(...) |
lindquist@120 | 3 { |
lindquist@120 | 4 return ""; |
lindquist@120 | 5 } |
lindquist@120 | 6 void main() |
lindquist@120 | 7 { |
lindquist@120 | 8 char[] s = fmt(); |
lindquist@120 | 9 } |