URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [typedef3.C] - Rev 384
Compare with Previous | Blame | View Log
// { dg-do assemble }
template <class T>
void f(T, T)
{
}
struct A {
typedef enum {
VAL1
} result_t;
};
struct B {
typedef enum {
VAL2
} result_t;
};
void g()
{
f(A::VAL1, A::VAL1);
f(B::VAL2, B::VAL2);
}