]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr7356-2.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr7356-2.c
CommitLineData
1a59ccf2
DM
1/* { dg-options "-fdiagnostics-show-caret" } */
2
3int i /* { dg-error "6: expected ';' before 'int'" } */
4int j;
5/* { dg-begin-multiline-output "" }
6 int i
7 ^
8 ;
9 int j;
10 ~~~
11 { dg-end-multiline-output "" } */
12
13
14void test (void)
15{
16 int i /* { dg-error "8: expected ';' before 'int'" } */
17 int j;
18
19 /* { dg-begin-multiline-output "" }
20 int i
21 ^
22 ;
23 int j;
24 ~~~
25 { dg-end-multiline-output "" } */
26}
27
28int old_style_params (first, second)
29 int first;
30 int second;
31{
32 return first + second;
33}