blob: 48ee2000349ac557d48332e52f446b58461ef262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// { dg-do assemble }
// { dg-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; // { dg-error "" } // ERROR -
|