r196045 - Reenable ms inline asm test.
Benjamin Kramer
benny.kra at googlemail.com
Sun Dec 1 03:48:10 PST 2013
Author: d0k
Date: Sun Dec 1 05:48:10 2013
New Revision: 196045
URL: http://llvm.org/viewvc/llvm-project?rev=196045&view=rev
Log:
Reenable ms inline asm test.
LLVM r196044 should make it pass.
Modified:
cfe/trunk/test/Sema/ms-inline-asm.c
Modified: cfe/trunk/test/Sema/ms-inline-asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/ms-inline-asm.c?rev=196045&r1=196044&r2=196045&view=diff
==============================================================================
--- cfe/trunk/test/Sema/ms-inline-asm.c (original)
+++ cfe/trunk/test/Sema/ms-inline-asm.c Sun Dec 1 05:48:10 2013
@@ -1,4 +1,4 @@
-// REQUIRES: disabled
+// REQUIRES: x86-64-registered-target
// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fasm-blocks -Wno-microsoft -verify -fsyntax-only
void t1(void) {
@@ -13,22 +13,22 @@ void f() {
}
f();
__asm {
- mov eax, 1+=2 // expected-error 2 {{unknown token in expression}}
+ mov eax, 1+=2 // expected-error {{unknown token in expression}}
}
f();
__asm {
- mov eax, 1+++ // expected-error 2 {{unknown token in expression}}
+ mov eax, 1+++ // expected-error {{unknown token in expression}}
}
f();
__asm {
- mov eax, LENGTH bar // expected-error {{Unable to lookup expr!}}
+ mov eax, LENGTH bar // expected-error {{unable to lookup expression}}
}
f();
__asm {
- mov eax, SIZE bar // expected-error {{Unable to lookup expr!}}
+ mov eax, SIZE bar // expected-error {{unable to lookup expression}}
}
f();
__asm {
- mov eax, TYPE bar // expected-error {{Unable to lookup expr!}}
+ mov eax, TYPE bar // expected-error {{unable to lookup expression}}
}
}
More information about the cfe-commits
mailing list