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

12 lines
364 B
C

// Build don't link:
// GROUPS passed parsing
// From: Teemu Torma <Teemu.Torma@frend.fi>
// Date: Mon, 15 Jun 92 18:42:25 +0300
// Subject: G++ 2.2.2: Strange parse error
// Message-ID: <"relay.fren.501:15.05.92.15.42.30"@frend.fi>
long (*foo1 ()) (); // This is ok.
typedef long INT;
INT (*foo2 ()) (); // This is not, g++ says "parse error before `('"