The `code` directive highlights all sources as GDScript. Other languages are
highlighted incorrectly at the moment, even if `.. code:: [language]` is
specified.
It does, however, work with the `code-block` directive. The reason seems to be
that this directive is Sphinx specific.
The statement is a compile error which emits use of overloaded operator '=' is ambiguous (with operand types 'Ref<FuncRef>' and 'FuncRef *')
This commit uses neikeq suggestion of Ref<MyReference> myref(memnew(MyReference));
Fixes#506