Mercurial > projects > ldc
view tests/mini/compile_bug_ldc_154.d @ 1542:ba2a5d2fe748
raw_fd_ostream takes a force parameter now
Build fix for LLVM 75801.
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Wed, 15 Jul 2009 20:04:42 +0200 |
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"); }