tests: add link to interesting resource about {0} initialization
This commit is contained in:
parent
8f4064ab7e
commit
d994e151b9
@ -64,6 +64,8 @@ const char* test_platform__global_h()
|
|||||||
const char* test_platform__compiler()
|
const char* test_platform__compiler()
|
||||||
{
|
{
|
||||||
/* Check that initialization with {0} works as expected
|
/* Check that initialization with {0} works as expected
|
||||||
|
*
|
||||||
|
* See http://www.ex-parrot.com/~chris/random/initialise.html
|
||||||
*
|
*
|
||||||
* Depending on your version, GCC can incorrectly reports the warning
|
* Depending on your version, GCC can incorrectly reports the warning
|
||||||
* "missing braces around initializer [-Wmissing-braces]"
|
* "missing braces around initializer [-Wmissing-braces]"
|
||||||
|
Loading…
Reference in New Issue
Block a user