How compatible is the Xiao to an Arduino e.g. Nano?

Does the message at the end of setup show up ? An easy way to assure which file is being used is to put an obvious error in place and see that the compiler fails on it.