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
Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
intmax_t-1.c
blob
799d00cfdbc36155465076e6c54d76865c2cb8ad
1
/* { dg-do compile } */
2
/* { dg-options "-Wall" } */
3
4
/* Compile with -Wall to get a warning if built-in and system intmax_t don't
5
match. */
6
7
#include <inttypes.h>
8
9
__INTMAX_TYPE__ __im_t__
;
10
__UINTMAX_TYPE__ __uim_t__
;
11
intmax_t
*
im_t_p
;
12
uintmax_t
*
uim_t_p
;
13
14
void
15
imt
(
void
)
16
{
17
im_t_p
= &
__im_t__
;
18
}
19
20
void
21
uimt
(
void
)
22
{
23
uim_t_p
= &
__uim_t__
;
24
}