llvm-project/clang/test/Parser/slh-asm-goto.cpp
Aaron Ballman 6b89e897e7 Reword diagnostics for style; NFC
This removes the capital letter at the start of a few diagnostics and
reformats the nearby diagnostics to match the local style.
2022-10-10 15:53:48 -04:00

6 lines
212 B
C++

// 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}}
}