OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
wint_t-1.c
1
/* { dg-do compile } */
2
/* { dg-options "-Wall" } */
3
/* { dg-excess-errors "Newlib has no wchar.h" { target mmix-knuth-mmixware } }
4
5
/* Compile with -Wall to get a warning if built-in and system wint_t don't
6
match. */
7
8
#define _STDDEF_H
9
#include <wchar.h>
10
11
__WINT_TYPE__ __wi_t__;
12
wint_t *wi_t_p;
13
14
void
15
wit (void)
16
{
17
wi_t_p = &__wi_t__;
18
}