diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/attributes.scala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/files/pos/attributes.scala b/test/files/pos/attributes.scala index 9bacab8816..55e3f6d4ac 100644 --- a/test/files/pos/attributes.scala +++ b/test/files/pos/attributes.scala @@ -37,9 +37,10 @@ abstract class A1 { object O6 { @serializable val x1 = new C1; - @serializable @volatile val x2 = new C2; - @serializable @volatile val x3 = new C3; - @serializable @volatile @serializable val x4 = new C4; + // volatile val sensibly disallowed as of r18645 + @serializable val x2 = new C2; + @serializable val x3 = new C3; + @serializable val x4 = new C4; @serializable var y1: C1 = _; @serializable @volatile var y2: C2 = _; |