xref: /llvm-project/clang/test/Modules/Inputs/module_private_right.h (revision 21823bfe318a02a73f96e05c368211b640f6bc53)
184febf4aSDouglas Gregor __module_private__ double &f0(double);
2*21823bfeSDouglas Gregor __module_private__ double &f0(double);
384febf4aSDouglas Gregor 
484febf4aSDouglas Gregor __module_private__ int hidden_var;
584febf4aSDouglas Gregor 
test_f0_in_right()684febf4aSDouglas Gregor inline void test_f0_in_right() {
784febf4aSDouglas Gregor   double &dr = f0(hidden_var);
884febf4aSDouglas Gregor }
984febf4aSDouglas Gregor 
1084febf4aSDouglas Gregor struct VisibleStruct {
1184febf4aSDouglas Gregor   __module_private__ int field;
1284febf4aSDouglas Gregor   __module_private__ virtual void setField(int f);
1384febf4aSDouglas Gregor };
14