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 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
//
|
//
|
// Origin: Jens.Maurer@gmx.net
|
// Origin: Jens.Maurer@gmx.net
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 11 Apr 2001
|
// Contributed by Nathan Sidwell 11 Apr 2001
|
|
|
// Bug 1844. We can meet types in cp_tree_equal via a template-id-expr.
|
// Bug 1844. We can meet types in cp_tree_equal via a template-id-expr.
|
|
|
typedef int *Ptr;
|
typedef int *Ptr;
|
|
|
template struct B
|
template struct B
|
{
|
{
|
typedef typename T::template X type;
|
typedef typename T::template X type;
|
typedef typename T::template X type2;
|
typedef typename T::template X type2;
|
typedef typename T::template X type3;
|
typedef typename T::template X type3;
|
|
|
void foo (type);
|
void foo (type);
|
void baz (type2);
|
void baz (type2);
|
|
|
};
|
};
|
|
|
template void B::foo (type)
|
template void B::foo (type)
|
{
|
{
|
}
|
}
|
template void B::baz (type3)
|
template void B::baz (type3)
|
{
|
{
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.