summaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr150671.aj
blob: 86f495bc382a4d40c00c2c28eae0b6252b3478cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class C {

	   private volatile int state;
	   private int test;
	   
	   public void foo() {
	      state = 0;
	      test = 0;
	   }
	
}

aspect FSM {
	   declare error: set(* C.state): "Changing state";
	   declare error: set(* C.test): "test";
}