mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-07 20:38:20 +08:00
tweak
From-SVN: r28763
This commit is contained in:
parent
7790df190a
commit
b736d71688
@ -1,7 +1,7 @@
|
||||
// Test that taking the address of a member function name produces
|
||||
// a pointer to member function.
|
||||
// Contributed by Jason Merrill <jason@cygnus.com>
|
||||
// Special g++ Options: -fpermissive -w
|
||||
// Special g++ Options: -fms-extensions
|
||||
// Build don't link:
|
||||
|
||||
struct A { };
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Test for implicit & on methods.
|
||||
// Contributed by Jason Merrill <jason@cygnus.com>.
|
||||
// Special g++ Options: -fpermissive -w
|
||||
// Special g++ Options: -fms-extensions
|
||||
|
||||
struct A {
|
||||
void f (int = 0) { }
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Test that an object-dependent reference to a member function can be
|
||||
// used to produce a pointer to member function, as in VC++.
|
||||
// Contributed by Jason Merrill <jason@cygnus.com>
|
||||
// Special g++ Options: -fpermissive -w
|
||||
// Special g++ Options: -fms-extensions
|
||||
|
||||
struct A
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user