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
Fix typo
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
wchar_t-1.c
blob
877b50e98717a5f70b3777a8f5549efeb029b0a4
1
/* { dg-do compile } */
2
/* { dg-options "-Wall" } */
3
4
/* Compile with -Wall to get a warning if built-in and system wchar_t don't
5
match. */
6
7
#define _STDDEF_H
8
#include <wchar.h>
/* { dg-excess-errors "" { xfail *-*-darwin* } } */
9
10
__WCHAR_TYPE__ __wc_t__
;
11
wchar_t
*
wc_t_p
;
12
13
void
14
wct
(
void
)
15
{
16
wc_t_p
= &
__wc_t__
;
17
}