Skip to content

Commit 5355896

Browse files
committed
Add testcase
1 parent 28f7a2a commit 5355896

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)