# HG changeset patch # User Christian Kamm # Date 1229761776 -3600 # Node ID 766267808f1174108a07cd121320134644ba81df # Parent cd87b3f15ccf6566da2c7113100ad69d3100d01a Rename test to accepted name. diff -r cd87b3f15ccf -r 766267808f11 tests/mini/compile_bug-ldc-154.d --- a/tests/mini/compile_bug-ldc-154.d Sat Dec 20 09:15:46 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -template toInt(char[4] arg) -{ - const uint toInt = (cast(uint[]) arg)[0]; - } - - void main() - { - auto i = toInt!("abcd"); - } diff -r cd87b3f15ccf -r 766267808f11 tests/mini/compile_bug_ldc_154.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/mini/compile_bug_ldc_154.d Sat Dec 20 09:29:36 2008 +0100 @@ -0,0 +1,9 @@ +template toInt(char[4] arg) +{ + const uint toInt = (cast(uint[]) arg)[0]; + } + + void main() + { + auto i = toInt!("abcd"); + }