Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/redecl-14.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
130:e108057fa461 | 132:d34655255c78 |
---|---|
16 extern IA5P a[]; | 16 extern IA5P a[]; |
17 sizeof (*a[0]); | 17 sizeof (*a[0]); |
18 } | 18 } |
19 extern IAP a[]; | 19 extern IAP a[]; |
20 extern IAP a[5]; | 20 extern IAP a[5]; |
21 sizeof (*a[0]); /* { dg-error "invalid application of 'sizeof' to incomplete type 'IA {aka int\\\[\\\]}'" } */ | 21 sizeof (*a[0]); /* { dg-error "invalid application of 'sizeof' to incomplete type 'IA' {aka 'int\\\[\\\]'}" } */ |
22 } | 22 } |