URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do assemble }
|
// { dg-do assemble }
|
//
|
//
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 14 Aug 2000
|
// Contributed by Nathan Sidwell 14 Aug 2000
|
|
|
// bug 42. We ICE'd on instantiating a template with a bogus templated friend.
|
// bug 42. We ICE'd on instantiating a template with a bogus templated friend.
|
|
|
template struct X
|
template struct X
|
{
|
{
|
template friend X; // { dg-error "" } friend must use aggr tag
|
template friend X; // { dg-error "" } friend must use aggr tag
|
};
|
};
|
|
|
X g;
|
X g;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.