Added language feature check for inline properties

This commit is contained in:
Mikhael Bogdanov
2016-06-22 15:31:46 +03:00
parent 321e97a329
commit 853c4d4453
5 changed files with 32 additions and 3 deletions
@@ -0,0 +1,11 @@
// !LANGUAGE: -InlineProperties
var value: Int = 0
<!UNSUPPORTED_FEATURE!>inline<!> var z: Int
get() = ++value
set(p: Int) { value = p }
var z2: Int
<!UNSUPPORTED_FEATURE!>inline<!> get() = ++value
<!UNSUPPORTED_FEATURE!>inline<!> set(p: Int) { value = p }
@@ -0,0 +1,5 @@
package
public var value: kotlin.Int
public var z: kotlin.Int
public var z2: kotlin.Int