OSDN Git Service

* g++.old-deja/g++.other/eh4.C: Fix typo.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / conv3.C
1 // Build don't link:
2
3 // submitted by David C Binderman <dcb@pncl.co.uk>
4
5 typedef const int ci;
6 typedef ci aci[ 10];
7 aci var = { 2, 3, 5, 7, 11, 13 };
8
9 void
10 f()
11 {
12         int * ip = var; // ERROR - requires const_cast
13 }