summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/case-attr-error
blob: e9516cc1b3481c2f0f807de7052a9d3feec7d219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# PRE: case-empty
#
update reply {
	Filter-Id := "fail"
}

switch &reply:Filter-Id {
	# deliberately empty
	case "filter" {
	}

	case &Not-Dynamically-Allocated {	# ERROR
		update reply {
			Filter-Id := "fail"
		}
	}

	case {
	}
}