What are the error(s) you got? The code you posted is not overloading any functions.
line 3: remove the {} characters because it makes the function an inline function. It should look like this:
virtual void created();
line 10 is wrong. Remove the word "test"