summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/dwarf2/lineno-simple1.C
blob: e0ef7f71ca34188eea6271a2e2e669f4bd990a1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do compile }
// { dg-options "-g -O0 -dA" }

struct C {  // { dg-function-on-line {_ZN1CC[12]Ev} }
  virtual void
  foo() {}  // { dg-function-on-line _ZN1C3fooEv }
};
static C dummy;

int
main (void)
{  // { dg-function-on-line main }
}