Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.law/parsing8.C

raw
1 // { dg-do assemble }
2 // GROUPS passed parsing
3 // parsing folder
4 // From: [email protected]
5 // Date: Thu, 08 Jul 1993 10:54:59 +0900
6 // Subject: g++ cannot understand `void (**f)()'
7 // Message-ID: <[email protected]>
8
9 void
10 func() {
11 int ( * * i )[ 2 ];
12 }
13
14 // Looks like this is probably the same problem
15 // parsing folder
16 // From: [email protected]
17 // Date: Thu, 08 Jul 1993 10:54:59 +0900
18 // Subject: g++ cannot understand `void (**f)()'
19 // Message-ID: <[email protected]>
20 int main()
21 {
22 void (**f)();
23 }
24
25
26 // Same as
27 // From: Chris Dodd <[email protected]>
28 // Date: Fri, 16 Jul 93 17:05:04 -0700
29 // Subject: bug in declaration parsing in g++ 2.4.5
30 // Message-ID: <[email protected]>
31