File indexing completed on 2024-05-12 05:41:13

0001 class MyClass
0002 {
0003     inline int a();
0004     inline int b();
0005     int c();
0006     int d();
0007 };
0008 
0009 inline int MyClass::a()
0010 {
0011     return 7;
0012 }
0013 
0014 int MyClass::b()
0015 {
0016     return 3;
0017 }
0018 
0019 inline int MyClass::c()
0020 {
0021     return 5;
0022 }
0023 
0024 // inline not the first Token on the line
0025 int inline MyClass::d()
0026 {
0027     return 9;
0028 }
0029 
0030 // Checks only exported classes, i.e. visibility "default"
0031 class __attribute__((visibility("hidden"))) MyHiddenClass
0032 {
0033     inline int a();
0034     inline int b();
0035     int c(); // Left as-is
0036 };
0037 
0038 inline int MyHiddenClass::a()
0039 {
0040     return 7;
0041 }
0042 
0043 int MyHiddenClass::b()
0044 {
0045     return 3;
0046 }
0047 
0048 inline int MyHiddenClass::c()
0049 {
0050     return 5;
0051 }