3.6.7. Incomplete enums

Forward declarations of enums are supported.

Example

enum Incomplete_Enums_0;

int Incomplete_Enums_2 (enum Incomplete_Enums_0 * passon)
{
    return 0;
}

int Incomplete_Enums_1 (enum Incomplete_Enums_0 * passon)
{
    return Incomplete_Enums_2(passon);
}

enum Incomplete_Enums_0 { ALPHA, BETA, GAMMA };
Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential