From-SVN: r18870
This commit is contained in:
Jason Merrill 1998-03-27 22:08:12 -05:00
parent d3a8592787
commit 72404d452c
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
struct A {
A operator+ (int) const { return *this; }
};
A operator+ (A, float);
main ()
{
A a;
a + 1;
}

View File

@ -0,0 +1,8 @@
struct foo {};
typedef long unsigned int & (foo::*pmf)(void);
void fn (...) {}
int main ()
{
pmf y = 0;
fn (y);
}