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
* builtins.def: Defome atan, atanf, atanl, tan, tanf and tanl
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
mips-args-2.c
1
/* Check the _MIPSEB and _MIPSEL macros are accurate. */
2
/* { dg-do run { target mips*-*-* } } */
3
short foo = 1;
4
int main ()
5
{
6
char *p = (char *) &foo;
7
8
#ifdef _MIPSEB
9
if (p[0] != 0 || p[1] != 1)
10
#else
11
if (p[0] != 1 || p[1] != 0)
12
#endif
13
abort ();
14
exit (0);
15
}