1 /* { dg-options "-fdiagnostics-show-caret -Wmisleading-indentation -Wall -fplugin-arg-location_overflow_plugin-value=0x50000001" } */
3 /* We use location_overflow_plugin.c, which injects the case that location_t
4 values have exceeded LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES, and hence
5 no range-packing should occur. */
7 /* Verify that we still have column numbers. */
8 extern unknown_type test
; /* { dg-error "8: unknown type name" } */
11 /* { dg-begin-multiline-output "" }
12 extern unknown_type test;
14 { dg-end-multiline-output "" } */
17 /* PR c++/68819: verify that -Wmisleading-indentation is still available. */
23 if (flag
) foo
= 3; bar
= 2; /* { dg-warning "this .if." } */
27 /* Verify that we still have ranges, despite the lack of packing. */
29 /* { dg-begin-multiline-output "" }
30 if (flag) foo = 3; bar = 2;
32 { dg-end-multiline-output "" } */
33 /* { dg-begin-multiline-output "" }
34 if (flag) foo = 3; bar = 2;
36 { dg-end-multiline-output "" } */