Bug in PlatformIO

Hi,
i have a question about PlatformIO.

I am very new to Atom.io and PlatformIO and try i build a Sketch for Arduino.

I dont know what i am doing wrong but i cant call a function.

Lets say my function is called “test”

void test (){

}

when i write test(); in the loop-function i get the error

test is not decleard in this scope.

The same thing works fine in Arduino IDE.
So im not sure if i do something wrong.
Could you help me?

FAQ.