diff test/bug73.d @ 129:8096ba7082db trunk

[svn r133] Fixed some problems with inlining not happening :P Fixed problems with certain cases of deeply nested classes/functions.
author lindquist
date Fri, 28 Dec 2007 22:55:24 +0100
parents 288fe1029e1f
children
line wrap: on
line diff
--- a/test/bug73.d	Fri Nov 30 17:12:08 2007 +0100
+++ b/test/bug73.d	Fri Dec 28 22:55:24 2007 +0100
@@ -11,4 +11,9 @@
 
 void main()
 {
-}
\ No newline at end of file
+    char[] hello = "hello world";
+    int i = find(hello, 'w');
+    assert(i == 6);
+    i = find(hello, 'z');
+    assert(i == -1);
+}