blob: e97d537d331be528294b034762867b41060eec8d [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00002// RUN: grep "ax" %t1
3// RUN: grep "bx" %t1
4// RUN: grep "cx" %t1
5// RUN: grep "dx" %t1
6// RUN: grep "di" %t1
7// RUN: grep "si" %t1
8// RUN: grep "st" %t1
Lauro Ramos Venancioa5694b82008-02-26 18:33:46 +00009// RUN: grep "st(1)" %t1
10
Chris Lattnerf29c8ad2009-04-18 07:01:54 +000011void test1() {
Lauro Ramos Venancioa5694b82008-02-26 18:33:46 +000012 int d1, d2;
13 asm ("" : "=a" (d1), "=b" (d2) :
14 "c" (0), "d" (0), "S" (0), "D" (0), "t" (0), "u" (0));
15}