Sign in
llvm
/
llvm-project
/
98dbcff19cfedb4e27d267310a76d616cd435447
/
.
/
clang
/
test
/
Parser
/
slh-asm-goto.cpp
blob: 7ae3cbdb13e6d03939866915804b9bcb3e05c5b0 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -mspeculative-load-hardening -fsyntax-only -verify %s
void
f
()
{
__asm
goto
(
"movl %ecx, %edx"
);
// expected-warning {{Speculative load hardening does not protect functions with asm goto}}
}