summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr36690-1.c
blob: de90acb81bf76c6c4ae40d748eac26a0ec24e298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* PR debug/36690 */
/* Verify that break func is hit.  */
/* { dg-do compile } */
/* { dg-options "-O0 -gdwarf-2 -dA" } */

int i;

void
func (void)
{
  while (i == 1)
    i = 0;
}

int
main (void)
{
  func ();
  return 0;
}

/* { dg-final { scan-assembler "pr36690-1.c:11" } } */