Platform: linux, x86_64, clang 3.2
I met a strange question when testing "initializer list" with clang++.
It reported error at direct-list-initialization to a function pointer in a
At the beginning, I guessed clang++ parse it as a function defination.
Later I found it no longer reported error when I move the
direct-list-initialization sentence into global scope.
Test code is as follows: