teak-llvm/clang/test/Sema/ast-print-x86.c
Jonathan Roelofs 6eef12f06f Move target-specific Sema test to its own file.
Fixing the build-break introduced in r239406.

llvm-svn: 239407
2015-06-09 14:30:17 +00:00

10 lines
295 B
C

// 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) );
}