summaryrefslogtreecommitdiffstats
path: root/test/Modules/Inputs/thread-safety/b.h
blob: c8ed23738f181960569866b527f898ca70e713ac (plain)
1
2
3
4
5
6
7
8
#include "a.h"

struct X {
  mutex m;
  int n __attribute__((guarded_by(m)));

  void f();
};
OpenPOWER on IntegriCloud