2009-03-30 19:54:33 +00:00
|
|
|
int f2 (int a)
|
|
|
|
{
|
|
|
|
return ++a;
|
|
|
|
}
|
|
|
|
|
|
|
|
int f1 (int a, int b)
|
|
|
|
{
|
|
|
|
return f2(a) + b;
|
|
|
|
}
|
|
|
|
|
2010-02-28 21:56:50 +00:00
|
|
|
int block (void)
|
|
|
|
{
|
|
|
|
int i = 99;
|
|
|
|
{
|
|
|
|
double i = 1.1;
|
|
|
|
double f = 2.2;
|
|
|
|
{
|
|
|
|
const char *i = "stuff";
|
|
|
|
const char *f = "foo";
|
|
|
|
const char *b = "bar";
|
|
|
|
return 0; /* Block break here. */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-03-30 19:54:33 +00:00
|
|
|
int main (int argc, char *argv[])
|
|
|
|
{
|
2010-02-28 21:56:50 +00:00
|
|
|
block ();
|
2009-03-30 19:54:33 +00:00
|
|
|
return f1 (1, 2);
|
|
|
|
}
|