2 // g++ 1.37.1 bug 900321_05
4 // The following code is legal as far as the ANSI C standard, GCC, and
5 // cfront are concerned, however g++ issues errors for the lines indicated.
7 // Cfront 2.0 passes this test.
9 // keywords: operator[], pointers, index
17 c = 3["abcdef"]; // { dg-bogus "" }
18 c = i[cp]; // { dg-bogus "" }
21 int main () { return 0; }