You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
295 B

// RUN: %clang_cc1 -triple i686-elf %s -ast-print | FileCheck %s
// REQUIRES: x86-registered-target
void assembly() {
int added;
// CHECK: asm volatile ("addl %%ebx,%%eax" : "=a" (added) : "a" (1), "b" (2));
__asm__ __volatile__("addl %%ebx,%%eax" : "=a" (added) : "a" (1), "b" (2) );
}