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
* expr.c (highest_pow2_factor_for_type): Rename into
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20020127-1.c
1
/* This used to fail on h8300. */
2
3
extern void abort (void);
4
extern void exit (int);
5
6
unsigned long
7
foo (unsigned long n)
8
{
9
return (~n >> 3) & 1;
10
}
11
12
int
13
main ()
14
{
15
if (foo (1 << 3) != 0)
16
abort ();
17
18
if (foo (0) != 1)
19
abort ();
20
21
exit (0);
22
}