Sign in
llvm
/
llvm-project
/
b83a4222b1ab5f4ddab19d83995a43646af56bfe
/
.
/
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}}
}