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++.jason/] [overload36.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// Test for subsequence checking in overload resolution.
class foo {
public:
void operator <<(char *) { }
void operator <<(const char * const &);
};
int
main()
{
char s[20];
foo f;
f << s;
}
Go to most recent revision | Compare with Previous | Blame | View Log