URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
// Contributed by Dodji Seketeli
|
// Contributed by Dodji Seketeli
|
// origin PR debug/30161
|
// origin PR debug/30161
|
// { dg-options "-g -dA" }
|
// { dg-options "-g -dA" }
|
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-final { scan-assembler "DW_TAG_template_value_param" } }
|
// { dg-final { scan-assembler "DW_TAG_template_value_param" } }
|
// { dg-final { scan-assembler "i.*DW_AT_name" } }
|
// { dg-final { scan-assembler "i.*DW_AT_name" } }
|
// { dg-final { scan-assembler "3.*DW_AT_const_value" } }
|
// { dg-final { scan-assembler "3.*DW_AT_const_value" } }
|
|
|
template
|
template
|
struct A
|
struct A
|
{
|
{
|
int m;
|
int m;
|
A ()
|
A ()
|
{
|
{
|
m = i;
|
m = i;
|
}
|
}
|
};
|
};
|
|
|
const int foo = 1;
|
const int foo = 1;
|
const int bar = 2;
|
const int bar = 2;
|
|
|
A a;
|
A a;
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.