URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
// PR c++/17393
|
// PR c++/17393
|
// { dg-options "-Wall -fshow-column" }
|
// { dg-options "-Wall -fshow-column" }
|
|
|
struct A { };
|
struct A { };
|
|
|
void foo()
|
void foo()
|
{
|
{
|
// Check that we do not complain about an unused
|
// Check that we do not complain about an unused
|
// compiler-generated variable.
|
// compiler-generated variable.
|
A& = a; // { dg-error "6:expected unqualified-id before '=' token" "6" }
|
A& = a; // { dg-error "6:expected unqualified-id before '=' token" "6" }
|
// { dg-error "8:'a' was not declared in this scope" "8" { target *-*-* } 10 }
|
// { dg-error "8:'a' was not declared in this scope" "8" { target *-*-* } 10 }
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.