summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/parsing3.C
blob: a9e6e33dd110b600b6630e0db2079593c533987e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// GROUPS passed parsing
// parsing folder
// From: tll@cco.caltech.edu (Tal Lewis Lancaster)
// Date:     18 Mar 1993 17:09:43 GMT
// Subject:  Re: unexpected difference between gcc and g++ (both 2.3.3)
// Message-ID: <1oaacnINNt20@gap.caltech.edu>

/* Notice that this case parses fine */
int (* volatile y)[10];

void foo2() {
        /* The parser can't handle it now */
        int (* volatile x)[10];
}