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 5260bc2 commit a8c2f76Copy full SHA for a8c2f76
clang/test/Sema/attr-capabilities.c
@@ -1,6 +1,5 @@
1
// RUN: %clang_cc1 -fsyntax-only -Wthread-safety -verify %s
2
3
-typedef int __attribute__((capability("role"))) ThreadRole;
4
typedef int __attribute__((capability("role"))) ThreadRole;
5
struct __attribute__((shared_capability("mutex"))) Mutex {};
6
struct NotACapability {};
0 commit comments