diff --git a/tests/sets/t5792.nim b/tests/sets/t5792.nim index efc38b1bc..297a1fc15 100644 --- a/tests/sets/t5792.nim +++ b/tests/sets/t5792.nim @@ -14,4 +14,4 @@ type of {b, c} - {a}: y: int -discard U(k: b, y: 1) +doAssert U(k: b, y: 1).y == 1