Lauro Ramos Venancio | a5694b8 | 2008-02-26 18:33:46 +0000 | [diff] [blame] | 1 | // RUN: clang %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1 |
Argyrios Kyrtzidis | c577a0e | 2008-06-12 12:40:02 +0000 | [diff] [blame] | 2 | // 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 Venancio | a5694b8 | 2008-02-26 18:33:46 +0000 | [diff] [blame] | 9 | // RUN: grep "st(1)" %t1 |
| 10 | |
| 11 | void f() { |
| 12 | int d1, d2; |
| 13 | asm ("" : "=a" (d1), "=b" (d2) : |
| 14 | "c" (0), "d" (0), "S" (0), "D" (0), "t" (0), "u" (0)); |
| 15 | } |