diff --git a/test/exceptions.cpp b/test/exceptions.cpp index 8c48b2f7b..b83fb82ba 100644 --- a/test/exceptions.cpp +++ b/test/exceptions.cpp @@ -69,6 +69,10 @@ class ScalarWithExceptions static int countdown; }; +ScalarWithExceptions real(const ScalarWithExceptions &x) { return x; } +ScalarWithExceptions imag(const ScalarWithExceptions & ) { return 0; } +ScalarWithExceptions conj(const ScalarWithExceptions &x) { return x; } + int ScalarWithExceptions::instances = 0; int ScalarWithExceptions::countdown = 0;