Sign in
llvm
/
llvm-project
/
759a2ac5b0ee09be9dbb51ad50143d7db990a94a
/
.
/
clang
/
test
/
Parser
/
slh-asm-goto.cpp
blob: 77bcd4f69d6988feef2cdcbbb2e655223e2f684b [
file
]
// 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}}
}