aboutsummaryrefslogtreecommitdiff
path: root/ql/test/semantic_analysis/invalid/test004.ql
blob: 5ae3e94501dadb33316e50296bf73442c4073b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Reference to identifier in computed question out of scope
form testForm {
	"First Question"
	testIdentifier : boolean
	if (testIdentifier) {
		"Second Question"
		anotherIdentifier : integer
	}
	"Third Question"
	unknownIdentifier : integer = anotherIdentifier + 1
}