summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/cvt9.C
blob: e98508d848269adcf6799e808a478b48f8324d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 -