mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
10 lines
119 B
C++
10 lines
119 B
C++
|
|
class __attribute__((lockable)) CSW {
|
|
};
|
|
|
|
CSW* csw;
|
|
|
|
void f(void) __attribute__((exclusive_locks_required(csw))) {
|
|
}
|
|
|