URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [non-dependent1.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/8921
// Origin: Chin-Lung Chang <evirt@iis.sinica.edu.tw>
// { dg-do compile }
struct A
{
template <typename T> void foo();
};
template <typename T> void bar(A& a)
{
a.foo<T>();
}
void baz()
{
A a;
bar<int>(a);
}
Go to most recent revision | Compare with Previous | Blame | View Log