diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2021-03-17 16:04:32 +0100 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2021-03-17 16:04:32 +0100 | 
| commit | 1a3c5c57396c8faacd18adb2bd830f6907c4d66f (patch) | |
| tree | ead7964f919d42f62ac66e96c3c29d3eee5c0e8e /indra/newview/tests | |
| parent | 47b3078c93a763f67103ff67f0fe8b6ac5794370 (diff) | |
SL-14999 - test update
Diffstat (limited to 'indra/newview/tests')
| -rw-r--r-- | indra/newview/tests/cppfeatures_test.cpp | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/indra/newview/tests/cppfeatures_test.cpp b/indra/newview/tests/cppfeatures_test.cpp index 8399bb12ff..67671dc65e 100644 --- a/indra/newview/tests/cppfeatures_test.cpp +++ b/indra/newview/tests/cppfeatures_test.cpp @@ -229,8 +229,11 @@ void cpp_features_test_object_t::test<6>()  class DefaultCopyOK  {  public: -	DefaultCopyOK() {} +	DefaultCopyOK(): mVal(123) {}  	DefaultCopyOK(const DefaultCopyOK&) = default; +	S32 val() const { return mVal; } +private: +	S32 mVal;  };  template<> template<> @@ -239,6 +242,9 @@ void cpp_features_test_object_t::test<7>()  	DefaultCopyOK d; // OK  	DefaultCopyOK d2(d); // OK  	DefaultCopyOK d3 = d; // OK +	ensure("default copy d", d.val()==123); +	ensure("default copy d2", d.val()==d2.val()); +	ensure("default copy d3", d.val()==d3.val());  } | 
