[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / Parser / slh-asm-goto.cpp
blob7ae3cbdb13e6d03939866915804b9bcb3e05c5b0
1 // RUN: %clang_cc1 -mspeculative-load-hardening -fsyntax-only -verify %s
3 void f() {
4 __asm goto("movl %ecx, %edx"); // expected-warning {{Speculative load hardening does not protect functions with asm goto}}