Files
clang-p2996/clang/test/CodeGen/x86-inline-asm.c
Argyrios Kyrtzidis 351763e156 Multiple tests in a single test file must be linked with '&&'.
Otherwise, failing tests other than the last one will not be reported.

llvm-svn: 52231
2008-06-12 12:40:02 +00:00

16 lines
390 B
C

// RUN: clang %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1
// RUN: grep "ax" %t1 &&
// RUN: grep "bx" %t1 &&
// RUN: grep "cx" %t1 &&
// RUN: grep "dx" %t1 &&
// RUN: grep "di" %t1 &&
// RUN: grep "si" %t1 &&
// RUN: grep "st" %t1 &&
// RUN: grep "st(1)" %t1
void f() {
int d1, d2;
asm ("" : "=a" (d1), "=b" (d2) :
"c" (0), "d" (0), "S" (0), "D" (0), "t" (0), "u" (0));
}