diff options
Diffstat (limited to 'clang/test/CodeGen/2008-02-26-inline-asm-bug.c')
-rw-r--r-- | clang/test/CodeGen/2008-02-26-inline-asm-bug.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2008-02-26-inline-asm-bug.c b/clang/test/CodeGen/2008-02-26-inline-asm-bug.c new file mode 100644 index 0000000..1103e9b --- /dev/null +++ b/clang/test/CodeGen/2008-02-26-inline-asm-bug.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -emit-llvm < %s | grep "\$0,\$1" + +void f() { + int d1, d2; + asm("%0,%1": "=r" (d1) : "r" (d2)); +} |