summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr38811.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/torture/pr38811.C')
-rw-r--r--gcc/testsuite/g++.dg/torture/pr38811.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/torture/pr38811.C b/gcc/testsuite/g++.dg/torture/pr38811.C
index e9b304da6e5..5ced0781497 100644
--- a/gcc/testsuite/g++.dg/torture/pr38811.C
+++ b/gcc/testsuite/g++.dg/torture/pr38811.C
@@ -17,7 +17,7 @@ public:
AbcExtent2d(const AbcA2d & rMin, const AbcA2d & rMax);
AbcA2d ClampPoint2d(const AbcA2d & rPoint) const;
AbcA2d GetMax() const { return m_vMax; }
- AbcA2d GetMin() const { }
+ AbcA2d GetMin() const { return AbcA2d(); }
AbcA2d Evaluate(double dNormalizedX, double dNormalizedY) const;
};
inline AbcExtent2d::AbcExtent2d(const AbcA2d & rMin, const AbcA2d & rMax)
@@ -69,5 +69,7 @@ long AbcAbcdTracer::TestIsoAbcde(AbcZyParamType eZyParam, double dParam,
if (!DoesPointLieOnAbcde(sUV,0))
;
}
+
+ return 0;
}