Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Modules / Inputs / thread-safety / c.h
blobec849c2250a3bbcad13a208c5c11f6488984ff81
1 #include "a.h"
3 struct X {
4 mutex m;
5 int n __attribute__((guarded_by(m)));
7 void f();
8 };
10 inline void unlock(X &x) __attribute__((unlock_function(x.m))) { x.m.unlock(); }