llvm/clang/test/Modules/Inputs/thread-safety/a.h

struct __attribute__((lockable)) mutex {
  void lock() __attribute__((exclusive_lock_function));
  void unlock() __attribute__((unlock_function));
};