Debian Codegraph @

test/regress/cli/regress0/options/set-after-init.smt2

raw
1 ; EXPECT: 0
2 ; EXPECT: 1
3 ; EXPECT: 0
4 ; EXPECT: 2
5 ; EXPECT: sat
6 ; EXPECT: 0
7 ; EXPECT: (error "invalid call to 'setOption' for option 'sat-random-seed', solver is already fully initialized")
8 ; EXIT: 1
9
10 (get-option :verbosity)
11 (set-option :verbosity 1)
12 (get-option :verbosity)
13 (set-option :verbosity 0)
14 (get-option :sat-random-seed)
15 (set-option :sat-random-seed 2)
16 (get-option :sat-random-seed)
17
18 (set-logic QF_UF)
19 (declare-fun x () Bool)
20 (assert (or x (not x)))
21 (check-sat)
22
23 (set-option :verbosity 0)
24 (get-option :verbosity)
25 (set-option :sat-random-seed 1)