URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 384 |
// { dg-do assemble }
|
// { dg-do assemble }
|
//
|
//
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 19 Jan 2001
|
// Contributed by Nathan Sidwell 19 Jan 2001
|
|
|
// Bug 1638. We failed to check if a function instantiation produced a void
|
// Bug 1638. We failed to check if a function instantiation produced a void
|
// parameter type.
|
// parameter type.
|
|
|
template struct S
|
template struct S
|
{
|
{
|
int f (T); // { dg-error "" } void type
|
int f (T); // { dg-error "" } void type
|
};
|
};
|
|
|
void foo ()
|
void foo ()
|
{
|
{
|
S s;
|
S s;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.