1 /* { dg-do compile } */ 2 /* { dg-additional-options "-fdiagnostics-column-unit=byte -fshow-column -fdiagnostics-show-caret -ftabstop=9 -Wmultichar" } */ 3 4 /* column units: bytes (via arg) 5 column origin: 1 (via default) 6 tabstop: 9 (via arg) */ 7 8 /* This line starts with a tab. */ 9 int c1 = 'c1'; /* { dg-warning "11: multi-character character constant" } */ 10 /* { dg-begin-multiline-output "" } 11 int c1 = 'c1'; 12 ^~~~ 13 { dg-end-multiline-output "" } */ 14 15 /* This line starts with <tabstop> spaces. */ 16 int c2 = 'c2'; /* { dg-warning "19: multi-character character constant" } */ 17 /* { dg-begin-multiline-output "" } 18 int c2 = 'c2'; 19 ^~~~ 20 { dg-end-multiline-output "" } */ 21 22 /* This line starts with <tabstop> spaces and has an internal tab after 23 a space. */ 24 int c3 = 'c3'; /* { dg-warning "20: multi-character character constant" } */ 25 /* { dg-begin-multiline-output "" } 26 int c3 = 'c3'; 27 ^~~~ 28 { dg-end-multiline-output "" } */ 29