mc-imperial / dredd

Framework for evaluating C/C++ compiler testing tools
Apache License 2.0
11 stars 3 forks source link

Avoid mutating enum constant in C++ constructor #267

Closed afd closed 1 month ago

afd commented 1 month ago

Works around a special cases where mutating an enum constant that occurs in a C++ constructor can lead to ambiguity when used in a conditional expression.

Fixes #264.