commit | ee48f3f76f2d01b1bfe8a761f704893556e3c7c2 | [log] [tgz] |
---|---|---|
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | Tue Feb 26 19:19:58 2008 +0000 |
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | Tue Feb 26 19:19:58 2008 +0000 |
tree | 3b3653094b3941dd44054207a4261602c6307a55 | |
parent | 9b496f937912b19a611d864df4c63e2e623145dc [diff] [blame] |
Fix a bug in ConvertAsmString function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47618 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/2008-02-26-inline-asm-bug.c b/test/CodeGen/2008-02-26-inline-asm-bug.c new file mode 100644 index 0000000..668b06c --- /dev/null +++ b/test/CodeGen/2008-02-26-inline-asm-bug.c
@@ -0,0 +1,6 @@ +// RUN: clang -emit-llvm < %s | grep "\$0,\$1" + +void f() { + int d1, d2; + asm("%0,%1": "=r" (d1) : "r" (d2)); +}