Home
last modified time | relevance | path

Searched refs:complex_wrap (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconstant-expression-cxx11.cpp1232 class complex_wrap : public complex { class
1234 constexpr complex_wrap(int re, int im = 0) : complex(re, im) {} in complex_wrap() function in Complex::complex_wrap
1235 constexpr complex_wrap(const complex_wrap &o) : complex(o) {} in complex_wrap() function in Complex::complex_wrap
1238 static_assert((complex_wrap)1 == complex(1), "");
1239 static_assert((complex)1 != complex_wrap(0, 1), "");
1240 static_assert(complex(1) == complex_wrap(1), "");
1241 static_assert(complex_wrap(1) != complex(0, 1), "");
1242 constexpr complex_wrap makeComplexWrap(int re, int im) { in makeComplexWrap()
1243 return complex_wrap(re, im); in makeComplexWrap()