summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/parsing8.C
blob: 797982cb9f5670b5197f93cfc1956227de6a996b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// { dg-do assemble  }
// GROUPS passed parsing
// parsing folder
// From: nag@soft.flab.fujitsu.co.jp
// Date:     Thu, 08 Jul 1993 10:54:59 +0900
// Subject:  g++ cannot understand `void (**f)()'
// Message-ID: <9307080155.AA00496@kumade.soft.flab.fujitsu.co.jp>

        void
        func() {
                int ( * * i )[ 2 ];
        }

// Looks like this is probably the same problem
// parsing folder
// From: nag@soft.flab.fujitsu.co.jp
// Date:     Thu, 08 Jul 1993 10:54:59 +0900
// Subject:  g++ cannot understand `void (**f)()'
// Message-ID: <9307080155.AA00496@kumade.soft.flab.fujitsu.co.jp>
int main()
{
        void (**f)();
}


// Same as
// From: Chris Dodd <dodd@csl.sri.com>
// Date:     Fri, 16 Jul 93 17:05:04 -0700
// Subject:  bug in declaration parsing in g++ 2.4.5
// Message-ID: <9307170005.AA03857@pekoe.csl.sri.com>