Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.c-torture / compile / 20010611-1.c
blob87723bd497aac648438ed879cb6a88712685a128
1 /* Origin: PR c/3116 from Andreas Jaeger <aj@suse.de>. */
2 /* When determining type compatibility of function types, we must remove
3 qualifiers from argument types. We used to fail to do this properly
4 in store_parm_decls when comparing prototype and non-prototype
5 declarations. */
6 struct _IO_FILE {
7 int _flags;
8 };
10 typedef struct _IO_FILE __FILE;
11 typedef struct _IO_FILE _IO_FILE;
12 typedef long int wchar_t;
14 extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
15 __FILE *__restrict __stream);
17 wchar_t *
18 fgetws (buf, n, fp)
19 wchar_t *buf;
20 int n;
21 _IO_FILE *fp;
23 return (wchar_t *)0;