OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [imported-decl-1.C] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR debug/39524
2
// { dg-do compile }
3
// { dg-options "-gdwarf-2 -dA -O0 -fno-merge-debug-strings" }
4
 
5
namespace A
6
{
7
  static int var2 = 2;
8
}
9
 
10
int
11
func ()
12
{
13
  using A::var2;
14
  return var2;
15
}
16
 
17
// { dg-final { scan-assembler-times "var2\[^\n\r\]*DW_AT_name" 1 } }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.