Check that a reference to an experimental definition with symbol sym is only used in an experimental scope
sym