diff tests/mini/compile_bug_ldc_154.d @ 867:766267808f11

Rename test to accepted name.
author Christian Kamm <kamm incasoftware de>
date Sat, 20 Dec 2008 09:29:36 +0100
parents tests/mini/compile_bug-ldc-154.d@fa019f0ce718
children
line wrap: on
line diff
--- /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");
+	   }