Fix tests affected by annotation wrapping changes

This commit is contained in:
Dmitry Jemerov
2017-07-20 12:32:13 +02:00
parent 5128b8a409
commit fbcc519098
4 changed files with 17 additions and 8 deletions
@@ -1,10 +1,13 @@
// ERROR: This annotation is not applicable to target 'member property with backing field'
internal class A {
@Deprecated("")
@Volatile var field1 = 0
@Volatile
var field1 = 0
@Transient var field2 = 1
@Transient
var field2 = 1
// Should work even for bad modifiers
@Strictfp var field3 = 2.0
@Strictfp
var field3 = 2.0
}