URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 24 Mar 2003
|
// Contributed by Nathan Sidwell 24 Mar 2003
|
|
|
// PR 10026. We ICE'd
|
// PR 10026. We ICE'd
|
|
|
class X;
|
class X;
|
|
|
void foo() {
|
void foo() {
|
X x(1); // { dg-error "incomplete type" "" }
|
X x(1); // { dg-error "incomplete type" "" }
|
bar(x); // { dg-error "not declared" "" }
|
bar(x); // { dg-error "not declared" "" }
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.