We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f7a2a commit 5355896Copy full SHA for 5355896
clang/test/Sema/attr-target-version-unsupported.c
@@ -0,0 +1,4 @@
1
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -verify %s
2
+
3
+//expected-error@+1 {{target_version attribute is not supported in this target}}
4
+int __attribute__((target_version("aes"))) foo(void) { return 3; }
0 commit comments