Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 %s -emit-llvm -O1 -o -
      2 
      3 typedef long intptr_t;
      4 int test(void *b) {
      5  intptr_t a;
      6  __asm__ __volatile__ ("%0 %1 " : "=r" (a): "0" (b));
      7   return a;
      8 }
      9