annotate gcc/testsuite/gcc.c-torture/compile/20010611-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Origin: PR c/3116 from Andreas Jaeger <aj@suse.de>. */
kono
parents:
diff changeset
2 /* When determining type compatibility of function types, we must remove
kono
parents:
diff changeset
3 qualifiers from argument types. We used to fail to do this properly
kono
parents:
diff changeset
4 in store_parm_decls when comparing prototype and non-prototype
kono
parents:
diff changeset
5 declarations. */
kono
parents:
diff changeset
6 struct _IO_FILE {
kono
parents:
diff changeset
7 int _flags;
kono
parents:
diff changeset
8 };
kono
parents:
diff changeset
9
kono
parents:
diff changeset
10 typedef struct _IO_FILE __FILE;
kono
parents:
diff changeset
11 typedef struct _IO_FILE _IO_FILE;
kono
parents:
diff changeset
12 typedef long int wchar_t;
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
kono
parents:
diff changeset
15 __FILE *__restrict __stream);
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 wchar_t *
kono
parents:
diff changeset
18 fgetws (buf, n, fp)
kono
parents:
diff changeset
19 wchar_t *buf;
kono
parents:
diff changeset
20 int n;
kono
parents:
diff changeset
21 _IO_FILE *fp;
kono
parents:
diff changeset
22 {
kono
parents:
diff changeset
23 return (wchar_t *)0;
kono
parents:
diff changeset
24 }