Resolve conditionals for #extends.
Engine tests for #extends.