blob: e3c913b6bb0d38f90fd3e8ec5c70bcff31b4e2e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* PR debug/36690 */
/* Verify that break func is hit.
This version of the test just checks that it can be compiled, linked
and executed, further testing is done in corresponding gcc.dg/dwarf2/
test and hopefully in gdb testsuite. */
/* { dg-do run } */
/* { dg-options "-O0 -g -dA" } */
int i;
void
func (void)
{
while (i == 1)
i = 0;
}
int
main (void)
{
func ();
return 0;
}
|