URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [typeck3.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed typeck
// typeck file
// From: Dror Caspi <dror@fibronics.co.il>
// Date: Wed, 9 Jun 1993 17:43:48 +0300
// Subject: function typedefs in classes
// Message-ID: <199306091443.AA03735@zorba.fibronics.co.il>
class a
{
public:
typedef void (X)();
X x; // Member function of type X
};
class b
{
public:
typedef void (X)(); //!!!!!! g++ says : syntax error before `;'
X x; // Member function of type X
};