array index error, used as a pointer

The following code produces an error:

struct almost_empty
{
unsigned a;
};

int function()
{
struct almost_empty AE[1];
return AE->a+1;
}

Patrick