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/nest.c, gcc.dg/20021014-1.c: Expect build failure on
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
20021014-1.c
1
/* { dg-do run } */
2
/* { dg-options "-O2 -p" } */
3
/* { dg-build "profiler" "No profiler support" { xfail mmix-*-* } } */
4
5
extern void abort (void);
6
extern void exit (int);
7
8
int foo (void)
9
{
10
static int bar (int x)
11
{
12
return x + 3;
13
}
14
return bar (1) + bar (2);
15
}
16
17
int main (void)
18
{
19
if (foo () != 9)
20
abort ();
21
exit (0);
22
}