diff --git a/idea/testData/intentions/addPropertyAccessors/getter/const.kt b/idea/testData/intentions/addPropertyAccessors/getter/const.kt index a52612d4b15..a3b8c18acfb 100644 --- a/idea/testData/intentions/addPropertyAccessors/getter/const.kt +++ b/idea/testData/intentions/addPropertyAccessors/getter/const.kt @@ -1,4 +1,5 @@ // IS_APPLICABLE: false +// ERROR: Const 'val' are only allowed on top level or in objects class Test { const val x = 1 } \ No newline at end of file