URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
//
|
//
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 25 Jul 2001
|
// Contributed by Nathan Sidwell 25 Jul 2001
|
|
|
// Origin: johanb@DoCS.UU.SE
|
// Origin: johanb@DoCS.UU.SE
|
// Bug 3621. At the end of saved input, we'd set the lineno to
|
// Bug 3621. At the end of saved input, we'd set the lineno to
|
// zero. This would confusing things no end, if there was a subsequent
|
// zero. This would confusing things no end, if there was a subsequent
|
// error.
|
// error.
|
|
|
namespace tmp {
|
namespace tmp {
|
typedef int B;
|
typedef int B;
|
B b;
|
B b;
|
}
|
}
|
|
|
class A {
|
class A {
|
public:
|
public:
|
int kaka(tmp::B = b); // { dg-error "" } no b in scope
|
int kaka(tmp::B = b); // { dg-error "" } no b in scope
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.