"No support of nested C function" build failure(s) — clang 3.1

clang rejects inner functions while gcc accepts them.
void foo() {

     void bar() {

     }

}

No error detected for version 3.1