aboutsummaryrefslogtreecommitdiff
path: root/ql/test/semantic_analysis/invalid/test003.ql
blob: 1491a85e20e0346f17821e6bc3866a4a28bffcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Reference to identifier in condition out of scope
form testForm {
	"First Question"
	testIdentifier : boolean
	if (testIdentifier) {
		"Second Question"
		anotherIdentifier : integer
	}
	if (anotherIdentifier) {
		"Unreachable Question"
		unreachableIdentifier : integer
	}
}