//globally or in struct/class/union works fine
int test() {return 0;}
void test(int x) {}
unittest {
int test() {return 0;}
void test(int x) {} //test already defined
}
void func() {
int test() {return 0;}
void test(int x) {} //test already defined
static int test2() {return 0;}
static void test2(int x) {} //test2 already defined
}
