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