Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGen/2008-12-23-AsmIntPointerTie.c @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 %s -emit-llvm -O1 -o - // REQUIRES: LP64 typedef long intptr_t; int test(void *b) { intptr_t a; __asm__ __volatile__ ("%0 %1 " : "=r" (a): "0" (b)); return a; }