URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [arg10.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed arg-matching
// arg-matching file
// From: Terry Lee <terry@uivlsisd.csl.uiuc.edu>
// Date: Sat, 14 May 1994 02:46:15 -0500
// Subject: g++ 2.5.8 template<const void*> bug
// Message-ID: <199405140746.AA03993@uivlsisd.csl.uiuc.edu>
template<class T>
class A {
public:
void func(const T& val) { }
};
int main()
{
A<const void*> a;
int* ptr = 0;
a.func(ptr);
}