10 lines · c
1// RUN: %clang_cc1 -triple i686-elf %s -ast-print | FileCheck %s2 3// REQUIRES: x86-registered-target4 5void assembly(void) {6 int added;7 // CHECK: asm volatile ("addl %%ebx,%%eax" : "=a" (added) : "a" (1), "b" (2));8 __asm__ __volatile__("addl %%ebx,%%eax" : "=a" (added) : "a" (1), "b" (2) );9}10