1 #include "../ctu-hdr.h"
3 int callback_to_main(int x
);
9 return callback_to_main(x
) + 1;
15 return 2 * h_chain(x
);
27 } // namespace embed_ns
33 int embed_cls::fecl(int x
) {
41 virtual int fvcl(int x
);
42 static int fscl(int x
);
50 int mycls::fcl(int x
) {
53 int mycls::fvcl(int x
) {
56 int mycls::fscl(int x
) {
59 int mycls::embed_cls2::fecl2(int x
) {
63 class derived
: public mycls
{
65 virtual int fvcl(int x
) override
;
68 int derived::fvcl(int x
) {
81 return chcls().chf4(x
);
89 typedef struct { int n
; } Anonymous
;
90 int fun_using_anon_struct(int n
) { Anonymous anon
; anon
.n
= n
; return anon
.n
; }
92 int other_macro_diag(int x
) {
97 extern const int extInt
= 2;
99 extern const int extInt
= 3;
104 extern const S extS
= {.a
= 4};
105 extern S extNonConstS
= {.a
= 4};
110 extern const NonTrivialS extNTS
= {.a
= 4};
118 extern const SC extSC
= {.a
= 8};
120 static const struct SC sc
;
122 const struct SC
ST::sc
= {.a
= 2};
128 SCNest extSCN
= {.scn
= {.a
= 9}};
129 extern SCNest::SCN
const extSubSCN
= {.a
= 1};
137 const unsigned int b
;
139 extern const U extU
= {.a
= 4};
141 class TestAnonUnionUSR
{
143 inline float f(int value
) {
151 static const int Test
;
153 const int TestAnonUnionUSR::Test
= 5;
155 struct DefaultParmContext
{
160 int fDefaultParm(int I
= DefaultParmContext::I
) {
164 int testImportOfIncompleteDefaultParmDuringImport(int I
) {
165 return fDefaultParm(I
);
168 const int DefaultParmContext::I
= 0;
170 int DefaultParmContext::f() {
171 return fDefaultParm();
174 class TestDelegateConstructor
{
176 TestDelegateConstructor() : TestDelegateConstructor(2) {}
177 TestDelegateConstructor(int) {}
180 int testImportOfDelegateConstructor(int i
) {
181 TestDelegateConstructor TDC
;