Mercurial > projects > ldc
view tests/mini/compile_bug_ldc_154.d @ 1162:0424e7dfadb1
Do not skip abstract function declarations if they have a function body. Fixes abstract_17_A,B.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 28 Mar 2009 20:25:59 +0100 |
parents | 766267808f11 |
children |
line wrap: on
line source
template toInt(char[4] arg) { const uint toInt = (cast(uint[]) arg)[0]; } void main() { auto i = toInt!("abcd"); }