Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
llvm-project
/
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}}
}