[TargetVersion] Only enable on RISC-V and AArch64 (#115991)
[llvm-project.git] / clang / test / Sema / attr-target-version-unsupported.c
blob7cf8172f5272e6edb95f76c82a54176f7c1d27b5
1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -verify %s
3 //expected-warning@+1 {{unknown attribute 'target_version' ignored}}
4 int __attribute__((target_version("aes"))) foo(void) { return 3; }