MCPcopy Create free account
hub / github.com/beefytech/Beef / ExTest2

Function ExTest2

IDE/mintest/src/cpp/test2.cpp:113–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111void Fart();
112
113BF_EXPORT void BF_CALLTYPE ExTest2()
114{
115 Poofie<int>(123);
116 Fart();
117
118 wchar_t wc = L'1';
119
120 /*asm(
121 ".intel_syntax;"
122 "mov rax, 123;"
123 "mov rcx, 3;"
124 "lea rsi, str0;"
125 "lea rdi, str1;"
126 "rep movsb;"
127
128 : "=*mr" (str0)
129 : "r" (str1)
130 );*/
131
132 FartTest fs;
133
134 SmallStruct ss;
135 ss.mA = 1;
136 ss.mB = 2;
137 TestSmallStruct(ss, 123);
138
139 SmallStruct* ssPtr = &ss;
140
141 SmallStruct& ssRef = ss;
142
143 SmallStruct*& ssPtrRef = ssPtr ;
144
145 //auto result = TestLoop(3, 4);///////
146 ClassCz* classCz = new ClassCz();
147 ClassBz* classBz = classCz;
148 ClassAz* classAz = classCz;
149 //9
150 std::list<int> intList;
151 intList.push_back(22);
152 intList.push_back(33);
153 intList.push_back(44);
154
155 int i = 209;
156 auto act = [&]()
157 {
158 i++;
159 };
160
161 Zoofgers(1);
162 Zoofgers(1.2f);
163
164 TestFunc(act);
165
166 /*auto actPtr = &act;
167 for (int i = 0; i < 100000000; i++)
168 (*actPtr)();*/
169 printf("Result: %d\n", i);
170}

Callers

nothing calls this directly

Calls 5

FartFunction · 0.85
TestSmallStructFunction · 0.85
ZoofgersFunction · 0.85
TestFuncFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected