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/] [static-data-member2.C] - Rev 826

Compare with Previous | Blame | View Log

// PR debug/26965
// { dg-options "-gdwarf-2 -dA" }
// { dg-final { scan-assembler-not "DW_TAG_variable" } }
// { dg-final { scan-assembler-not "DW_TAG_enumerator" } }
// { dg-final { scan-assembler-not "DW_TAG_enumeration_type" } }

enum x { i = 1 };
class c {
  static const x beg = i;
  int foo () { return (int) beg; }
};
void bar () { }

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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