OSDN Git Service

PR c++/4872
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.law / cvt9.C
1 // Build don't link: 
2 // Special g++ Options: -pedantic-errors
3 // GROUPS passed conversions
4 // cvt file
5 // Message-Id: <m0mVSRj-0000cEC@mobius.veritas.com>
6 // From: joe@veritas.com (Joe Fasano)
7 // Subject: gcc-2.2.2 bug report
8 // Date: Thu, 17 Sep 92 13:27 PDT
9
10 typedef int (*widget) ();
11
12 class window {
13 public:
14   int Isopen ();
15 };
16
17 widget fp = (widget) &window::Isopen;   // ERROR - // ERROR -