comparison clang/test/CodeGen/2008-12-23-AsmIntPointerTie.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
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 }