Ensure GDB warnings are styled.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.python / py-frame.c
CommitLineData
f8f6f20b
TJB
1int f2 (int a)
2{
3 return ++a;
4}
5
6int f1 (int a, int b)
7{
8 return f2(a) + b;
9}
10
dc00d89f
PM
11int block (void)
12{
13 int i = 99;
14 {
15 double i = 1.1;
16 double f = 2.2;
17 {
18 const char *i = "stuff";
19 const char *f = "foo";
20 const char *b = "bar";
21 return 0; /* Block break here. */
22 }
23 }
24}
25
f8f6f20b
TJB
26int main (int argc, char *argv[])
27{
dc00d89f 28 block ();
f8f6f20b
TJB
29 return f1 (1, 2);
30}
This page took 1.370515 seconds and 4 git commands to generate.