Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-11.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* PR c/86125 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-Wbuiltin-declaration-mismatch -Wextra -Wno-ignored-qualifiers" } */ | |
4 | |
5 typedef __SIZE_TYPE__ size_t; | |
6 struct FILE; | |
7 struct tm; | |
8 struct fenv_t; | |
9 struct fexcept_t; | |
10 typedef struct FILE FILE; | |
11 typedef struct fenv_t fenv_t; | |
12 typedef struct fexcept_t fexcept_t; | |
13 typedef const int cint; | |
14 size_t strftime (char *__restrict, const size_t, const char *__restrict, /* { dg-bogus "mismatch in argument 1 type of built-in function" } */ | |
15 const struct tm *__restrict) __attribute__((nothrow)); | |
16 int fprintf (struct FILE *, const char *const, ...); /* { dg-bogus "mismatch in argument 2 type of built-in function" } */ | |
17 cint putc (int, struct FILE *); /* { dg-bogus "mismatch in return type of built-in function" } */ | |
18 cint fegetenv (fenv_t *); /* { dg-bogus "mismatch in argument 1 type of built-in function" } */ | |
19 cint fesetenv (const fenv_t *); /* { dg-bogus "mismatch in return type of built-in function" } */ | |
20 int fegetexceptflag (fexcept_t *, const int); /* { dg-bogus "mismatch in argument 1 type of built-in function" } */ | |
21 int fesetexceptflag (const fexcept_t *, const int); /* { dg-bogus "mismatch in argument 1 type of built-in function" } */ |