File tree Expand file tree Collapse file tree 5 files changed +16
-0
lines changed
cpp/ql/test/library-tests/variables/global Expand file tree Collapse file tree 5 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ namespace aNameSpace {
3+ int xs[] = { 1 , 2 };
4+ }
Original file line number Diff line number Diff line change 1+
2+ namespace aNameSpace {
3+ extern int xs[2 ];
4+ }
Original file line number Diff line number Diff line change 1+
2+ #include " d.h"
Original file line number Diff line number Diff line change 1010| c.h:6:12:6:13 | declaration of ls | array of 4 {int} | 1 |
1111| c.h:8:12:8:14 | declaration of iss | array of {array of 2 {int}} | 1 |
1212| c.h:10:12:10:12 | declaration of i | int | 1 |
13+ | d.cpp:3:7:3:8 | definition of xs | array of {int} | 1 |
14+ | d.h:3:14:3:15 | declaration of xs | array of 2 {int} | 1 |
1315| file://:0:0:0:0 | definition of fp_offset | unsigned int | 1 |
1416| file://:0:0:0:0 | definition of gp_offset | unsigned int | 1 |
1517| file://:0:0:0:0 | definition of overflow_arg_area | pointer to {void} | 1 |
Original file line number Diff line number Diff line change 77| c.h:4:12:4:13 | ks | array of {int} | 1 |
88| c.h:8:12:8:14 | iss | array of {array of 2 {int}} | 1 |
99| c.h:10:12:10:12 | i | int | 1 |
10+ | d.cpp:3:7:3:8 | xs | array of {int} | 1 |
11+ | d.h:3:14:3:15 | xs | array of 2 {int} | 1 |
12+ | file://:0:0:0:0 | (unnamed parameter 0) | reference to {const {struct __va_list_tag}} | 1 |
13+ | file://:0:0:0:0 | (unnamed parameter 0) | rvalue reference to {struct __va_list_tag} | 1 |
1014| file://:0:0:0:0 | fp_offset | unsigned int | 1 |
1115| file://:0:0:0:0 | gp_offset | unsigned int | 1 |
1216| file://:0:0:0:0 | overflow_arg_area | pointer to {void} | 1 |
You can’t perform that action at this time.
0 commit comments