comparison 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
comparison
equal deleted inserted replaced
128:e5fe8521bbfa 129:8096ba7082db
9 return -1; 9 return -1;
10 } 10 }
11 11
12 void main() 12 void main()
13 { 13 {
14 char[] hello = "hello world";
15 int i = find(hello, 'w');
16 assert(i == 6);
17 i = find(hello, 'z');
18 assert(i == -1);
14 } 19 }