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
mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
struct-ret-libc.c
blob
723e1cd029bc51cb8f5bad57409f04d7e3b9f5a0
1
/* Test evolved from source from Simona Perri <perri@mat.unical.it>
2
and Gerald Pfeifer<pfeifer@dbai.tuwien.ac.at>.
3
4
Copyright (C) 2003 Free Software Foundation */
5
6
/* { dg-do run } */
7
8
#include <stdlib.h>
9
10
int
main
()
11
{
12
div_t
d
=
div
(
20
,
5
);
13
if
((
d
.
quot
!=
4
) || (
d
.
rem
))
14
abort
();
15
exit
(
0
);
16
}