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