[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Parser / MicrosoftExtensionsInlineAsm.c
bloba973152b2781f8b8f25dad7c5d8d94ddca20c1de
1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -triple i386-mingw32 -fsyntax-only -verify -fms-extensions %s
3 // expected-no-diagnostics
5 void __forceinline InterlockedBitTestAndSet (long *Base, long Bit)
7 __asm {
8 mov eax, Bit
9 mov ecx, Base
10 lock bts [ecx], eax
11 setc al