| 12 | #include <ogr_spatialref.h> |
| 13 | |
| 14 | int main(int argc, char **argv) |
| 15 | { |
| 16 | OGRGeometry *poGeom = nullptr; |
| 17 | OGRGeometryFactory::createFromWkt("POINT(1 2)", nullptr, &poGeom); |
| 18 | OGRGeometryFactory::destroyGeometry(poGeom); |
| 19 | std::cout << GDALVersionInfo("RELEASE_NAME") << std::endl; |
| 20 | |
| 21 | // Check fix for https://github.com/OSGeo/gdal/issues/11311 |
| 22 | OGRSpatialReference oSRS; |
| 23 | int nEntries = 0; |
| 24 | int *panMatchCondidence = nullptr; |
| 25 | oSRS.FindMatches(nullptr, &nEntries, &panMatchCondidence); |
| 26 | CPLFree(panMatchCondidence); |
| 27 | |
| 28 | return (0); |
| 29 | } |
nothing calls this directly
no test coverage detected