From: Akira Hatanaka Date: Thu, 18 Sep 2014 00:29:04 +0000 (+0000) Subject: Fix test case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6cc5ac4d693b9c3523ed86ec8d430a163f7986f;p=clang Fix test case. This is another follow-up patch to r217996. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218003 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/mmx-inline-asm-error.c b/test/CodeGen/mmx-inline-asm-error.c index e9a2800671..9be27fac58 100644 --- a/test/CodeGen/mmx-inline-asm-error.c +++ b/test/CodeGen/mmx-inline-asm-error.c @@ -5,8 +5,8 @@ vec256 foo(vec256 in) { vec256 out; asm("something %0" : : "y"(in)); // expected-error {{invalid input size for constraint 'y'}} - asm("something %0" : "=y"(out)); // expected-error {{invalid type 'vec256' (vector of 8 'int' values) in asm input for constraint 'y'}} - asm("something %0, %0" : "+y"(out)); // expected-error {{invalid type 'vec256' (vector of 8 'int' values) in asm input for constraint 'y'}} + asm("something %0" : "=y"(out)); + asm("something %0, %0" : "+y"(out)); return out; }