xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/x86.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1
2*f4a2713aSLionel Sambuc // RUN: grep "ax" %t1
3*f4a2713aSLionel Sambuc // RUN: grep "bx" %t1
4*f4a2713aSLionel Sambuc // RUN: grep "cx" %t1
5*f4a2713aSLionel Sambuc // RUN: grep "dx" %t1
6*f4a2713aSLionel Sambuc // RUN: grep "di" %t1
7*f4a2713aSLionel Sambuc // RUN: grep "si" %t1
8*f4a2713aSLionel Sambuc // RUN: grep "st" %t1
9*f4a2713aSLionel Sambuc // RUN: grep "st(1)" %t1
10*f4a2713aSLionel Sambuc 
test1()11*f4a2713aSLionel Sambuc void test1() {
12*f4a2713aSLionel Sambuc   int d1, d2;
13*f4a2713aSLionel Sambuc   asm ("" : "=a" (d1), "=b" (d2) :
14*f4a2713aSLionel Sambuc        "c" (0), "d" (0), "S" (0), "D" (0), "t" (0), "u" (0));
15*f4a2713aSLionel Sambuc }
16