1// REQUIRES: system-windows
2// FIXME: Re-enable test on windows (PR36855)
3// UNSUPPORTED: system-windows
4// RUN: %check_clang_tidy %s hicpp-no-assembler %t
5
6void f() {
7 _asm {
8 mov al, 2;
9 // CHECK-MESSAGES: :[[@LINE-2]]:3: warning: do not use inline assembler in safety-critical code [hicpp-no-assembler]
10 }
11}
12

source code of clang-tools-extra/test/clang-tidy/checkers/hicpp/no-assembler-msvc.cpp