12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- // Just produce any code in order to test basic workflow
- namespace hmm
- {
- class A
- {
- A()
- {
- /* first funtion */
- this->m_member = 10;
- if (a & b)
- {
- for (int i = 0; i < 0 && i > 0; i++)
- {
- // crazy, right?
- }
- }
- }
- int func(int param = 5)
- {
- class embeded
- {
- embeded()
- {
- int a = 10;
- if (true)
- {
- // again crazy
- }
- while (a == b); // regressed
- }
- };
- if (a);
- }
- int never(int how_long = 999)
- {
- while(true)
- {
- }
- return 2; // slightly modified
- }
- char new_func()
- {
- // simple
- }
- char new_func_complex()
- {
- if (true) {}
- return 'A';
- }
- int m_member = 10;
- };
- }
|