8sa1-gcc/gcc/testsuite/g++.old-deja/g++.law/cvt9.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

18 lines
394 B
C

// Build don't link:
// Special g++ Options: -pedantic-errors
// GROUPS passed conversions
// cvt file
// Message-Id: <m0mVSRj-0000cEC@mobius.veritas.com>
// From: joe@veritas.com (Joe Fasano)
// Subject: gcc-2.2.2 bug report
// Date: Thu, 17 Sep 92 13:27 PDT
typedef int (*widget) ();
class window {
public:
int Isopen ();
};
widget fp = (widget) &window::Isopen; // ERROR - // ERROR -