re PR debug/50983 (incorrect DW_LNS_negate_stmt)
[gcc.git] / gcc / testsuite / gcc.dg / debug / dwarf2 / asm-line1.c
1 /* PR debug/50983 */
2 /* { dg-do compile { target *-*-linux-gnu } } */
3 /* { dg-options "-O0 -gdwarf-2" } */
4 /* { dg-final { scan-assembler "is_stmt 1" } } */
5
6 int i;
7 void f() __attribute ((section ("foo")));
8 void f() { if (i) ++i; else --i; }
9
10 void fun()
11 {
12 return;
13 }
14
15 int main()
16 {
17 f();
18 fun();
19 return 0;
20 }