comparison tests/sema/function_overload_1.d @ 168:7982eb63c0eb

Some changes to get function overloading to work. Also class inherit works now - to some extend. needs vtables and all the complex stuff of it.
author Anders Johnsen <skabet@gmail.com>
date Thu, 24 Jul 2008 12:06:48 +0200
parents
children
comparison
equal deleted inserted replaced
166:9cfa33517526 168:7982eb63c0eb
1
2
3 void main()
4 {
5 int x = 5;
6 foo(x);
7 long y = 12;
8 foo(y);
9 }
10
11 int foo(long x);
12 int foo(int x);