blob: 77bcd4f69d6988feef2cdcbbb2e655223e2f684b (
plain)
1
2
3
4
5
|
// 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}}
}
|