URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// Copyright (C) 2003 Free Software Foundation
|
// Copyright (C) 2003 Free Software Foundation
|
// Contributed by Kriang Lerdsuwanakij
|
// Contributed by Kriang Lerdsuwanakij
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Template instantiate during deferred access check
|
// Template instantiate during deferred access check
|
|
|
template struct C {
|
template struct C {
|
typedef int Y;
|
typedef int Y;
|
};
|
};
|
|
|
template void f(typename T::X) {
|
template void f(typename T::X) {
|
}
|
}
|
|
|
class A {
|
class A {
|
typedef int X;
|
typedef int X;
|
template friend void f(typename T::X);
|
template friend void f(typename T::X);
|
};
|
};
|
|
|
C<&f >::Y g(int);
|
C<&f >::Y g(int);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.