Mercurial > projects > ldc
view test/bug19.d @ 248:890b4862ec6c trunk
[svn r265] generate debug info for global variables only if they don't have external linkage
author | ChristianK |
---|---|
date | Tue, 10 Jun 2008 20:01:04 +0200 |
parents | e5c4bece7fa1 |
children |
line wrap: on
line source
module bug19; void main() { auto dg = (int i) { return i*2; }; assert(dg(2) == 4); }