URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 4 Sept 2001
|
// Contributed by Nathan Sidwell 4 Sept 2001
|
|
|
// Bug 4206. We were nesting SCOPE_STMTs badly.
|
// Bug 4206. We were nesting SCOPE_STMTs badly.
|
|
|
struct A
|
struct A
|
{
|
{
|
A ();
|
A ();
|
~A ();
|
~A ();
|
};
|
};
|
|
|
|
|
void Go( )
|
void Go( )
|
{
|
{
|
while (1)
|
while (1)
|
{
|
{
|
switch (1) {
|
switch (1) {
|
default: {}
|
default: {}
|
}
|
}
|
A d;
|
A d;
|
}
|
}
|
|
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.