New testcase, for PR 115
[oota-llvm.git] / test / CFrontend / 2003-10-29-AsmRename.c
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 }