blob: df646b7801f7443b03bb696852ee328d0cde38b0 [file] [log] [blame]
Eric Christopherb0257342011-07-26 21:42:32 +00001// RUN: %clang_cc1 %s -emit-llvm -O1 -o -
2
3typedef long intptr_t;
4int test(void *b) {
5 intptr_t a;
6 __asm__ __volatile__ ("%0 %1 " : "=r" (a): "0" (b));
7 return a;
8}