blob: 5750cedd026ae46a8987293a0d213d1f96a59491 [file] [log] [blame]
Tanya Lattnere9af5d12004-11-06 22:41:00 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
Chris Lattnerb5631bf2003-10-29 19:18:48 +00003
4struct foo { int X; };
5struct bar { int Y; };
6
7extern int Func(struct foo*) __asm__("Func64");
8extern int Func64(struct bar*);
9
10int Func(struct foo *F) {
11 return 1;
12}
13
14int Func64(struct bar* B) {
15 return 0;
16}
17
18
19int test() {
20 Func(0); /* should be renamed to call Func64 */
21 Func64(0);
22}