llvm-project/clang/test/Parser/slh-asm-goto-no-warn.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
165 B
C++
Raw Normal View History

// RUN: %clang_cc1 -Wno-slh-asm-goto -mspeculative-load-hardening -fsyntax-only -verify %s
void f() {
__asm goto("movl %ecx, %edx"); // expected-no-diagnostics
}