Commit 985484fd by Mark Mitchell Committed by Mark Mitchell

re PR c++/15875 (rejects pointer to member in template)

	PR c++/15875
	* g++.dg/template/ptrmem14.C: New test.

From-SVN: r99100
parent 2c217442
2005-05-02 Mark Mitchell <mark@codesourcery.com>
PR c++/15875
* g++.dg/template/ptrmem14.C: New test.
2005-05-02 Paul Brook <paul@codesourcery.com> 2005-05-02 Paul Brook <paul@codesourcery.com>
* gcc.c-torture/execute/20000523-1.c: Fix bytes/bits thinko. * gcc.c-torture/execute/20000523-1.c: Fix bytes/bits thinko.
......
// PR c++/15875
struct A
{
void foo();
};
template<int> void bar()
{
typedef void (A::*fptr)();
fptr ptr = &A::foo;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment