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/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
ppc64-toc.c
1
/* { dg-do link } */
2
/* { dg-options "-mminimal-toc" { target { powerpc64-*-* && lp64 } } } */
3
4
char *strchr (const char *, int);
5
6
int
7
foo (int a)
8
{
9
int b;
10
11
b = 0;
12
if ("/"[1] != '\0')
13
if (strchr ("/", a))
14
b = 1;
15
return b;
16
}
17
18
int
19
main (void)
20
{
21
return 0;
22
}