[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Parser / slh-asm-goto.cpp
blob77bcd4f69d6988feef2cdcbbb2e655223e2f684b
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}}