aboutsummaryrefslogtreecommitdiff
path: root/ql/test/semantic_analysis/valid/test005.ql
blob: 8620dc939c95973dc5abad2918db5e57777a82e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Identifier reference in nested condition
form testForm {
	"First Question"
	firstCondition : boolean
	"Second Question"
	secondCondition : boolean
	if (firstCondition) {
		"Third Question"
		anotherIdentifier : integer
		if (secondCondition) {
			"Fourth Question"
			yetAnotherIdentifier : decimal
		}
	}
}