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
[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
ppc64-toc.c
blob
21090af235ee83c474440daa04ec6eeb18b2d1aa
1
/* { dg-do link } */
2
/* { dg-options "-mminimal-toc" { target { powerpc*-*-* && 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
}