Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGen/2003-10-29-AsmRename.c @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | c4bab56944e8 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -emit-llvm %s -triple x86_64-apple-darwin -o /dev/null struct foo { int X; }; struct bar { int Y; }; extern int Func(struct foo*) __asm__("Func64"); extern int Func64(struct bar*); int Func(struct foo *F) { return 1; } int Func64(struct bar* B) { return 0; } int test(void) { Func(0); /* should be renamed to call Func64 */ Func64(0); }