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 |
// PR c++/3478
|
// PR c++/3478
|
// { dg-options "-fshow-column" }
|
// { dg-options "-fshow-column" }
|
|
|
template struct A
|
template struct A
|
{
|
{
|
enum E {};
|
enum E {};
|
};
|
};
|
|
|
template void foo()
|
template void foo()
|
{
|
{
|
enum A::E e1;
|
enum A::E e1;
|
typename A::E e2;
|
typename A::E e2;
|
enum A::E e3;
|
enum A::E e3;
|
enum typename A::E e4;
|
enum typename A::E e4;
|
}
|
}
|
|
|
// Here, columns nums are not very accurate either. Still acceptable though
|
// Here, columns nums are not very accurate either. Still acceptable though
|
// { dg-error "30:invalid type in declaration before ';' token" "" { target *-*-* } 14 }
|
// { dg-error "30:invalid type in declaration before ';' token" "" { target *-*-* } 14 }
|
// { dg-error "30:two or more data types in declaration of 'e4'" "" { target *-*-* } 14 }
|
// { dg-error "30:two or more data types in declaration of 'e4'" "" { target *-*-* } 14 }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.