URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [enum8.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
template <int I>
void f();
template <>
void f<4>() {}
template <class T>
struct S
{
enum E { a = 1, b = a + 3 };
};
int main()
{
f<S<int>::b>();
}