URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [static-data-member2.C] - Rev 301
Go to most recent revision | 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 () { }
Go to most recent revision | Compare with Previous | Blame | View Log