Skip to content

Commit 7d84c47

Browse files
committed
Add another test
1 parent 85d4ffb commit 7d84c47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/test/AST/Interp/complex.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ constexpr int ignoredCast() {
5353
}
5454
static_assert(ignoredCast() == 0, "");
5555
static_assert((int)I1 == 1, "");
56+
static_assert((float)D == 1.0f, "");
5657

5758

5859
/// Standalone complex expressions.

0 commit comments

Comments
 (0)