Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
c7c68c7965190393ffa594d0c8bec79c4ca7dbfb
/
.
/
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}}
}