Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/semicolon-fixits.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-options "-fdiagnostics-show-caret -Wpedantic" } */ |
2 | |
3 /* Struct with extra semicolon. */ | |
4 struct s1 { int i;; }; /* { dg-warning "19: extra semicolon in struct or union specified" } */ | |
5 /* { dg-begin-multiline-output "" } | |
6 struct s1 { int i;; }; | |
7 ^ | |
8 - | |
9 { dg-end-multiline-output "" } */ | |
10 | |
11 /* Union with extra semicolon. */ | |
12 union u1 { int i;; }; /* { dg-warning "18: extra semicolon in struct or union specified" } */ | |
13 /* { dg-begin-multiline-output "" } | |
14 union u1 { int i;; }; | |
15 ^ | |
16 - | |
17 { dg-end-multiline-output "" } */ |