diff --git a/testData/ast/field/file/internalField.kt b/testData/ast/field/file/internalField.kt new file mode 100644 index 00000000000..9666f1c611d --- /dev/null +++ b/testData/ast/field/file/internalField.kt @@ -0,0 +1,6 @@ +open class C(f : Foo?) { +var f : Foo? +{ +this.f = f +} +} \ No newline at end of file diff --git a/testData/ast/field/file/privateField.kt b/testData/ast/field/file/privateField.kt new file mode 100644 index 00000000000..aefb7b6f0f0 --- /dev/null +++ b/testData/ast/field/file/privateField.kt @@ -0,0 +1,6 @@ +open class C(f : Foo?) { +private var f : Foo? +{ +this.f = f +} +} \ No newline at end of file diff --git a/testData/ast/field/file/protectedField.kt b/testData/ast/field/file/protectedField.kt new file mode 100644 index 00000000000..132c8174abc --- /dev/null +++ b/testData/ast/field/file/protectedField.kt @@ -0,0 +1,6 @@ +open class C(f : Foo?) { +protected var f : Foo? +{ +this.f = f +} +} \ No newline at end of file diff --git a/testData/ast/field/file/publicField.kt b/testData/ast/field/file/publicField.kt new file mode 100644 index 00000000000..24c1ac8956e --- /dev/null +++ b/testData/ast/field/file/publicField.kt @@ -0,0 +1,6 @@ +open class C(f : Foo?) { +public var f : Foo? +{ +this.f = f +} +} \ No newline at end of file diff --git a/testData/ast/field/file/valWithInit.kt b/testData/ast/field/file/valWithInit.kt new file mode 100644 index 00000000000..48c4b7e68f1 --- /dev/null +++ b/testData/ast/field/file/valWithInit.kt @@ -0,0 +1,6 @@ +open class C(f : Foo?) { +val f : Foo? = Foo(1, 2) +{ +this.f = f +} +} \ No newline at end of file diff --git a/testData/ast/field/file/varWithInit.kt b/testData/ast/field/file/varWithInit.kt new file mode 100644 index 00000000000..6d8dfd2b64c --- /dev/null +++ b/testData/ast/field/file/varWithInit.kt @@ -0,0 +1,3 @@ +open class C() { +var f : Foo? = Foo(1, 2) +} \ No newline at end of file diff --git a/testData/ast/field/file/varWithoutInit.kt b/testData/ast/field/file/varWithoutInit.kt new file mode 100644 index 00000000000..9666f1c611d --- /dev/null +++ b/testData/ast/field/file/varWithoutInit.kt @@ -0,0 +1,6 @@ +open class C(f : Foo?) { +var f : Foo? +{ +this.f = f +} +} \ No newline at end of file