brintos

brintos / llvm-project-archived public Read only

0
0
Text · 212 B · 77bcd4f Raw
6 lines · cpp
1// RUN: %clang_cc1 -mspeculative-load-hardening -fsyntax-only -verify %s2 3void f() {4  __asm goto("movl %ecx, %edx"); // expected-warning {{speculative load hardening does not protect functions with asm goto}}5}6