diff clang/test/SemaCXX/complex-conversion.cpp @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
line wrap: on
line diff
--- a/clang/test/SemaCXX/complex-conversion.cpp	Wed Jul 21 10:27:27 2021 +0900
+++ b/clang/test/SemaCXX/complex-conversion.cpp	Wed Nov 09 17:45:10 2022 +0900
@@ -15,4 +15,8 @@
 
   // Conversion to bool doesn't actually discard the imaginary part.
   take<bool>(Complex);
+
+  using B = _Complex double;
+  B c;
+  c *= double();
 }