diff options
Diffstat (limited to 'test.cc')
-rw-r--r-- | test.cc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -259,6 +259,11 @@ int main() { chkeq(opt.chk(),true); chkeq(opt.exp(fun,"expectation failed"),-0x45); + + ::zp::opt<::zp::i8s> const optasg = opt; + + chkeq(optasg.chk(),true); + chkeq(optasg.exp(fun,"expectation failed"),-0x45); }(); [&] { |