blob: 7690f56ee94fbbdf1ddd0cd1e434b65917b3822c [file] [log] [blame]
// Build don't link:
// submitted by David C Binderman <dcb@pncl.co.uk>
typedef const int ci;
typedef ci aci[ 10];
aci var = { 2, 3, 5, 7, 11, 13 };
void
f()
{
int * ip = var; // ERROR - requires const_cast
}