URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// Copyright (C) 2001 Free Software Foundation
|
// Copyright (C) 2001 Free Software Foundation
|
// Contributed by Kriang Lerdsuwanakij
|
// Contributed by Kriang Lerdsuwanakij
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
template class TT> class C {
|
template class TT> class C {
|
};
|
};
|
|
|
template struct D {
|
template struct D {
|
C c; // { dg-error "no class template" }
|
C c; // { dg-error "no class template" }
|
};
|
};
|
|
|
struct E {
|
struct E {
|
};
|
};
|
|
|
D d; // { dg-error "instantiated" }
|
D d; // { dg-error "instantiated" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.