URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [non-dependent1.C] - Rev 825
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