aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/plugin/diagnostic-test-text-art-ascii-bw.c
blob: e4239aab032652214613ba02355b495d803d8f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* { dg-additional-options "-fdiagnostics-text-art-charset=ascii -fdiagnostics-color=never" } */

int non_empty;

/* { dg-begin-multiline-output "" }

  A
   B
    C

   { dg-end-multiline-output "" } */

/* { dg-begin-multiline-output "" }

  ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
  ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
  
  
  
  
  ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
  ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖

   { dg-end-multiline-output "" } */

/* { dg-begin-multiline-output "" }

  +--+
  |🙂|
  +--+

   { dg-end-multiline-output "" } */
/* { dg-begin-multiline-output "" }

  +-------+-----+---------------+---------------------+-----------------------+-----------------------+
  |Offsets|Octet|       0       |          1          |           2           |           3           |
  +-------+-----+-+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  | Octet | Bit |0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|
  +-------+-----+-+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  |   0   |  0  |Version|  IHL  |     DSCP      | ECN |                 Total Length                  |
  +-------+-----+-------+-------+---------------+-----+--------+--------------------------------------+
  |   4   | 32  |           Identification            | Flags  |           Fragment Offset            |
  +-------+-----+---------------+---------------------+--------+--------------------------------------+
  |   8   | 64  | Time To Live  |      Protocol       |                Header Checksum                |
  +-------+-----+---------------+---------------------+-----------------------------------------------+
  |  12   | 96  |                                  Source IP Address                                  |
  +-------+-----+-------------------------------------------------------------------------------------+
  |  16   | 128 |                               Destination IP Address                                |
  +-------+-----+-------------------------------------------------------------------------------------+
  |  20   | 160 |                                                                                     |
  +-------+-----+                                                                                     |
  |  ...  | ... |                                       Options                                       |
  +-------+-----+                                                                                     |
  |  56   | 448 |                                                                                     |
  +-------+-----+-------------------------------------------------------------------------------------+

   { dg-end-multiline-output "" } */