aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/backend/makeopt.good
blob: 57428b0c958404b1d1e5bfef20a029cbb25f344a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

() test()
{
    var bool? x = makeopt :false;
    x = makeopt :true;
    
    if x == makeopt bool:false { }
    
    if x == makeopt :false {
    } else if x == makeopt :true {
    }
    
    if x == x {
    }
}