Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / sarif-pr107366.c
blobee156d4df23c83fd2e1cbcabab274d0781c6b3d4
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fdiagnostics-format=sarif-file" } */
4 typedef enum {
5 HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO
6 } hwloc_topology_diff_obj_attr_type_t;
7 enum { HWLOC_TOPOLOGY_DIFF_OBJ_ATTR } hwloc_apply_diff_one_diff_0_0;
9 void
10 hwloc_apply_diff_one() {
11 switch (hwloc_apply_diff_one_diff_0_0)
12 case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR: {
13 hwloc_topology_diff_obj_attr_type_t obj_attr_2_0_0;
14 switch (obj_attr_2_0_0)
15 case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO: {
16 unsigned ii = 0;
21 /* { dg-final { verify-sarif-file } } */