aboutsummaryrefslogtreecommitdiff
path: root/ql/test/semantic_analysis/valid/test007.ql
blob: 1338a82f12ba5eb790a51d886a0b91900299622f (plain)
1
2
3
4
5
6
7
8
9
// Identifier reference in both condition and computed question
form testForm {
    "First Question"
    someInteger : integer
    if (someInteger > 10) {
        "Second Question"
        computedInteger : integer = someInteger - 10
    }
}