Fix skip.exp test failure observed with gcc-9.2.0
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / gdbvars.c
CommitLineData
cab0c772
UW
1/* Simple program to help exercise gdb's convenience variables. */
2
3typedef void *ptr;
4
5ptr p = &p;
6
2abc3f8d 7void
a280dbd1
SDJ
8foo_void (void)
9{
10}
11
2abc3f8d 12int
a280dbd1
SDJ
13foo_int (void)
14{
15 return 0;
16}
17
cab0c772
UW
18int
19main ()
20{
293e2f9e 21 p = &p;
cab0c772
UW
22 return 0;
23}
This page took 1.394493 seconds and 4 git commands to generate.