function checkExample( tag, loc ) {
		var match;

		match = RE_REQUIRE.exec( tag.description );
		if ( match ) {
			// The main export should be required last, so no `require` calls should follow:
			if ( match.index !== tag.description.lastIndexOf( 'require(' ) ) {
				report( 'Example code of main export should require itself last, i.e. contain `require( \'@'+modulePath+'\' )` as the last `require` call', loc );
			}
		} else {
			report( 'Example code of main export should require itself, i.e. contain `require( \'@'+modulePath+'\' )`', loc );
		}
	}
Checks whether the first require statement in example code for the main export of a package requires the module itself.

@private
@param {Object} tag - example tag
@param {Object} loc - lines of code (object with `start` and `end` properties)