]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr67964.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr67964.c
CommitLineData
2c7020eb
MP
1/* PR c/67964 */
2/* { dg-do compile } */
3
4extern int fn0 (void) __attribute__ ((const const)); /* { dg-error "expected" } */
5extern int fn1 (void) __attribute__ ((const, const));
6extern int fn2 (void) __attribute__ ((optimize (0) const)); /* { dg-error "expected" } */
7extern int fn3 (void) __attribute__ ((optimize (0), const));
8/* We allow starting/trailing comma. */
9extern int fn4 (void) __attribute__ ((, const));
10extern int fn5 (void) __attribute__ ((const, ));
11extern int fn6 (void) __attribute__ ((,,,, const,,,,, ));
12extern int fn7 (void) __attribute__ ((,));
13extern int fn8 (void) __attribute__ ((__noreturn__ __noreturn__)); /* { dg-error "expected" } */
14extern int fn9 (void) __attribute__ ((__noreturn__, __noreturn__));
15extern int fn10 (void) __attribute__ ((__cold__ __pure__ __noclone__)); /* { dg-error "expected" } */
16extern int fn11 (void) __attribute__ ((__cold__, __pure__ __noclone__)); /* { dg-error "expected" } */
17int i;
18int ii;
19extern int a __attribute__ ((alias ("i") unused)); /* { dg-error "expected" } */
20extern int a2 __attribute__ ((alias ("i" "i")));
21struct A { char p[6]; } __attribute__((__packed__ packed)); /* { dg-error "expected" } */