brintos

brintos / llvm-project-archived public Read only

0
0
Text · 302 B · a973152 Raw
14 lines · c
1// REQUIRES: x86-registered-target2// RUN: %clang_cc1 -triple i386-mingw32 -fsyntax-only -verify -fms-extensions  %s3// expected-no-diagnostics4 5void __forceinline InterlockedBitTestAndSet (long *Base, long Bit)6{7  __asm {8    mov eax, Bit9    mov ecx, Base10    lock bts [ecx], eax11    setc al12  };13}14