Warn when export declaration used outside of global scope.