struct my_struct { /* Some members */ struct nested_struct { int i; } *nested; }; static struct nested_struct nested_static = {0}; struct nested_struct nested_nonstatic = {0}; static const struct my_struct the_my1 = {..., &nested_static}; /* OK */ static const struct my_struct the_my2 = {..., &nested_nonstatic}; /* Error: initializer is not constant */