Skip to content

Commit cc3ed65

Browse files
committed
Try to reproduce issue with VC
1 parent f535c93 commit cc3ed65

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

internals/tests/testing/defaulted_test.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,12 @@ auto defaulted_test = test([]() {
2323
dumpster_v1::zeroed<char *> x;
2424
verify(x == nullptr);
2525
}
26+
{
27+
dumpster_v1::zeroed<uint8_t> x;
28+
dumpster_v1::zeroed<uint8_t> y = x;
29+
y += 1;
30+
x = y;
31+
x = 2 * y + 1;
32+
verify(3 == x);
33+
}
2634
});

0 commit comments

Comments
 (0)