aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/asm.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-03 07:04:21 +0000
committerChris Lattner <sabre@nondot.org>2009-05-03 07:04:21 +0000
commitf69fcaeb3843297757251a19f0a6f5bbffed7f32 (patch)
treece12cd54e42c236839d1df901b6cc61779b492c5 /test/Sema/asm.c
parentfa780fc4a4983003633c9b560387266101839923 (diff)
If we have mismatched integer tied operands, but the operand
number is not mentioned in the asm string, let it past sema. Right now these are currently rejected by the llvm code generator but this will be fixed next. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/asm.c')
-rw-r--r--test/Sema/asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/asm.c b/test/Sema/asm.c
index 602b77388a..cc25fd89b0 100644
--- a/test/Sema/asm.c
+++ b/test/Sema/asm.c
@@ -73,6 +73,6 @@ void asm_string_tests(int i) {
// PR4077
int test7(unsigned long long b) {
int a;
- asm volatile("foo " : "=a" (a) :"0" (b)); // expected-error {{input with type 'unsigned long long' matching output with type 'int'}}
+ asm volatile("foo %0 %1" : "=a" (a) :"0" (b)); // expected-error {{input with type 'unsigned long long' matching output with type 'int'}}
return a;
}