view nocompile/alias_05.d @ 70:5f98d4a33d49

1) review of all test cases with unexpected results (except encoding and html/xml) 2) updated todo
author thomask
date Sat, 23 Oct 2004 22:47:47 +0000
parents 3414705c41ac
children 1f6cf5ccfbc9
line wrap: on
line source

module dstress.nocompile.alias_05;

alias int myint;

void foo(int x) { }
void foo(myint m) { } // error, multiply defined function foo

int main(char[][] args){
	myint a;
	return a;
}