☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2008-12-23-AsmIntPointerTie.c
☽
☼
clang/test/CodeGen/2008-12-23-AsmIntPointerTie.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -emit-llvm -O1 -o -
2
// REQUIRES: LP64
3
4
typedef long intptr_t;
5
int test(void *b) {
6
intptr_t a;
7
__asm__ __volatile__ ("%0 %1 " : "=r" (a): "0" (b));
8
return a;
9
}