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