Chris Lattner | b5631bf | 2003-10-29 19:18:48 +0000 | [diff] [blame^] | 1 | |
2 | struct foo { int X; }; | ||||
3 | struct bar { int Y; }; | ||||
4 | |||||
5 | extern int Func(struct foo*) __asm__("Func64"); | ||||
6 | extern int Func64(struct bar*); | ||||
7 | |||||
8 | int Func(struct foo *F) { | ||||
9 | return 1; | ||||
10 | } | ||||
11 | |||||
12 | int Func64(struct bar* B) { | ||||
13 | return 0; | ||||
14 | } | ||||
15 | |||||
16 | |||||
17 | int test() { | ||||
18 | Func(0); /* should be renamed to call Func64 */ | ||||
19 | Func64(0); | ||||
20 | } |