summaryrefslogtreecommitdiff
path: root/clang/test/Modules/Inputs/module_private_right.h
blob: 53efe25d0889894bb40859456db292748ae70354 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
__module_private__ double &f0(double);
__module_private__ double &f0(double);

__module_private__ int hidden_var;

inline void test_f0_in_right() {
  double &dr = f0(hidden_var);
}

struct VisibleStruct {
  __module_private__ int field;
  __module_private__ virtual void setField(int f);
};