blob: d0f19af322762b97f78110c5c99f99b0363431b4 [file] [log] [blame]
Eric Christopher87dd7d92011-07-27 16:26:09 +00001// RUN: %clang_cc1 -emit-llvm %s -triple x86_64-apple-darwin -o /dev/null
Eric Christopher3883e662011-07-26 22:17:02 +00002
3
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}