[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / 2003-10-29-AsmRename.c
blob746ff15dd0e3198c9a6b1eef8c53372654f0a86d
1 // RUN: %clang_cc1 -emit-llvm %s -triple x86_64-apple-darwin -o /dev/null
4 struct foo { int X; };
5 struct bar { int Y; };
7 extern int Func(struct foo*) __asm__("Func64");
8 extern int Func64(struct bar*);
10 int Func(struct foo *F) {
11 return 1;
14 int Func64(struct bar* B) {
15 return 0;
19 int test(void) {
20 Func(0); /* should be renamed to call Func64 */
21 Func64(0);