We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d4ffb commit 7d84c47Copy full SHA for 7d84c47
clang/test/AST/Interp/complex.cpp
@@ -53,6 +53,7 @@ constexpr int ignoredCast() {
53
}
54
static_assert(ignoredCast() == 0, "");
55
static_assert((int)I1 == 1, "");
56
+static_assert((float)D == 1.0f, "");
57
58
59
/// Standalone complex expressions.
0 commit comments