record test compiling, incorrect recordExample