1 /* Verify that fix-it printing doesn't ICE when there are multiple
2 fix-it hints on a very long line after LINE_MAP_MAX_COLUMN_NUMBER. */
3
4 /* { dg-options "-Wall -no-integrated-cpp -fdiagnostics-show-caret" } */
5 /* { dg-allow-blank-lines-in-output 1 } */
6 /* { dg-prune-output ".*" } */
7
8 typedef struct {
9 } REFERENCE;
10 #define LIM2() LIM1()
11 #define LIM3() LIM2() LIM2() LIM2() LIM2() LIM2() LIM2()
12 #define LIM4() \
13 LIM3() LIM3() LIM3() LIM3() LIM3() LIM3() LIM3() LIM3() LIM3() LIM3()
14 #define LIM5() \
15 LIM4() LIM4() LIM4() LIM4() LIM4() LIM4() LIM4() LIM4() LIM4() LIM4()
16 #define LIM1() DEF(),
17 REFERENCE references[] = {LIM5()};