From b69f998c2cb24c9b7b20adeb551a7dd02f234358 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 2 Nov 2000 19:32:21 +0000 Subject: [PATCH] Add a regression test for const double& parameters [SVN r8102] --- test_extclass.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_extclass.py b/test_extclass.py index ae59a055..e7ba6e0b 100644 --- a/test_extclass.py +++ b/test_extclass.py @@ -657,6 +657,9 @@ Regression test for a reference-counting bug thanks to Mark Evans 0.0 >>> sizelist([1, 2, 4]) 3.0 + +And another for doubles + >>> vector_double().push_back(3.0) Tests for method lookup in the context of inheritance Set up the tests @@ -838,7 +841,6 @@ test inheritB2 'B2::inheritB2' >>> db2.inheritB2() 'B2::inheritB2' - ''' from demo import *