repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
wint_t-1.c
blob
0574fb9a48fd9956c72588659b87a54e465516cf
1
/* { dg-do compile { target wchar } } */
2
/* { dg-options "-Wall" } */
3
4
/* Compile with -Wall to get a warning if built-in and system wint_t don't
5
match. */
6
7
#define _STDDEF_H
8
#include <wchar.h>
9
10
__WINT_TYPE__ __wi_t__
;
11
wint_t
*
wi_t_p
;
12
13
void
14
wit
(
void
)
15
{
16
wi_t_p
= &
__wi_t__
;
17
}