diff --git a/src/type_traits/tests/test_complex_helper.cpp b/src/type_traits/tests/test_complex_helper.cpp index 9333ed2dd4..b93b0717fa 100644 --- a/src/type_traits/tests/test_complex_helper.cpp +++ b/src/type_traits/tests/test_complex_helper.cpp @@ -20,6 +20,7 @@ class TestComplexHelper using Cmplx = std::complex
;
using Real = RealAlias ;
+ using RealRebuild = ValueAlias ;
public:
void run()
@@ -27,6 +28,10 @@ class TestComplexHelper
Cmplx aa;
CmplxRebuild bb;
aa = bb;
+
+ Real cc;
+ RealRebuild dd(0);
+ cc = dd;
}
};