Fortran: Fixup broken build on 32bit after r15-6415 [PR107635]
[official-gcc.git] / gcc / testsuite / c-c++-common / diagnostic-units-5.c
blob99d5299a732182d41c2c34abe97eca7df084a9c3
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fdiagnostics-column-unit=display -fshow-column -fdiagnostics-show-caret -fdiagnostics-column-origin=0 -Wmultichar" } */
4 /* column units: display (via arg)
5 column origin: 0 (via arg)
6 tabstop: 8 (via default) */
8 /* This line starts with a tab. */
9 int c1 = 'c1'; /* { dg-warning "17: multi-character character constant" } */
10 /* { dg-begin-multiline-output "" }
11 int c1 = 'c1';
12 ^~~~
13 { dg-end-multiline-output "" } */
15 /* This line starts with <tabstop> spaces. */
16 int c2 = 'c2'; /* { dg-warning "17: multi-character character constant" } */
17 /* { dg-begin-multiline-output "" }
18 int c2 = 'c2';
19 ^~~~
20 { dg-end-multiline-output "" } */
22 /* This line starts with <tabstop> spaces and has an internal tab after
23 a space. */
24 int c3 = 'c3'; /* { dg-warning "24: multi-character character constant" } */
25 /* { dg-begin-multiline-output "" }
26 int c3 = 'c3';
27 ^~~~
28 { dg-end-multiline-output "" } */