Commit bfa3ca03 authored by mmitchel's avatar mmitchel
Browse files

PR c++/15875

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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99100 138bc75d-0d04-0410-961f-82ee72b054a4
parent 573a97ad
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>
 
* 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