Commit b736d716 by Jason Merrill

tweak

From-SVN: r28763
parent 7790df19
// Test that taking the address of a member function name produces // Test that taking the address of a member function name produces
// a pointer to member function. // a pointer to member function.
// Contributed by Jason Merrill <jason@cygnus.com> // Contributed by Jason Merrill <jason@cygnus.com>
// Special g++ Options: -fpermissive -w // Special g++ Options: -fms-extensions
// Build don't link: // Build don't link:
struct A { }; struct A { };
......
// Test for implicit & on methods. // Test for implicit & on methods.
// Contributed by Jason Merrill <jason@cygnus.com>. // Contributed by Jason Merrill <jason@cygnus.com>.
// Special g++ Options: -fpermissive -w // Special g++ Options: -fms-extensions
struct A { struct A {
void f (int = 0) { } void f (int = 0) { }
......
// Test that an object-dependent reference to a member function can be // Test that an object-dependent reference to a member function can be
// used to produce a pointer to member function, as in VC++. // used to produce a pointer to member function, as in VC++.
// Contributed by Jason Merrill <jason@cygnus.com> // Contributed by Jason Merrill <jason@cygnus.com>
// Special g++ Options: -fpermissive -w // Special g++ Options: -fms-extensions
struct A struct A
{ {
......
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