From c72c57c9e9b69944e3e009cd5e209634839581d3 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 8 Apr 2013 18:45:10 +0000 Subject: Vendor import of clang trunk r178860: http://llvm.org/svn/llvm-project/cfe/trunk@178860 --- test/Parser/MicrosoftExtensions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/Parser/MicrosoftExtensions.c') diff --git a/test/Parser/MicrosoftExtensions.c b/test/Parser/MicrosoftExtensions.c index 7703999..4c6f4f8 100644 --- a/test/Parser/MicrosoftExtensions.c +++ b/test/Parser/MicrosoftExtensions.c @@ -20,12 +20,15 @@ void * __ptr32 PtrToPtr32(const void *p) void __forceinline InterlockedBitTestAndSet (long *Base, long Bit) { - __asm { // expected-warning {{MS-style inline assembly is not supported}} + // FIXME: Re-enable this once MS inline asm stabilizes. +#if 0 + __asm { mov eax, Bit mov ecx, Base lock bts [ecx], eax setc al }; +#endif } _inline int foo99() { return 99; } -- cgit v1.1