File tree Expand file tree Collapse file tree 2 files changed +14
-18
lines changed
Expand file tree Collapse file tree 2 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 11/* * This is a very ugly test code (doomed to fail linting) */
22#include " demo.hpp"
3- #include < cstdio>
4- #include < cstddef>
3+ #include < stdio.h>
54
6- // using size_t from cstddef
7- size_t dummyFunc (size_t i) { return i; }
85
9- int main ()
10- {
11- for (;;)
12- break ;
6+
7+
8+ int main (){
9+
10+ for (;;) break ;
11+
1312
1413 printf (" Hello world!\n " );
1514
16- return 0 ;
17- }
15+
16+
17+
18+ return 0 ;}
Original file line number Diff line number Diff line change 55class Dummy {
66 char * useless;
77 int numb;
8+ Dummy () :numb(0 ), useless(" \0 " ){}
89
910 public:
10- void *not_usefull (char *str){
11- useless = str;
12- return 0 ;
13- }
11+ void *not_useful (char *str){useless = str;}
1412};
1513
1614
@@ -28,14 +26,11 @@ class Dummy {
2826
2927
3028
31-
32-
33-
34-
3529
3630
3731struct LongDiff
3832{
33+
3934 long diff;
4035
4136};
You can’t perform that action at this time.
0 commit comments