From 609491dd4f9eb070f6c8e3575f50021a80a5e2b8 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Sun, 8 Jan 2012 23:21:47 +0400 Subject: [PATCH] more in ReadClassDataTest --- compiler/testData/readClass/type/ArrayOfInt.kt | 3 +++ compiler/testData/readClass/type/ArrayOfString.kt | 3 +++ compiler/testData/readClass/type/ListOfString.kt | 3 +++ compiler/testData/readClass/type/String.kt | 3 +++ compiler/testData/readClass/type/StringQ.kt | 3 +++ 5 files changed, 15 insertions(+) create mode 100644 compiler/testData/readClass/type/ArrayOfInt.kt create mode 100644 compiler/testData/readClass/type/ArrayOfString.kt create mode 100644 compiler/testData/readClass/type/ListOfString.kt create mode 100644 compiler/testData/readClass/type/String.kt create mode 100644 compiler/testData/readClass/type/StringQ.kt diff --git a/compiler/testData/readClass/type/ArrayOfInt.kt b/compiler/testData/readClass/type/ArrayOfInt.kt new file mode 100644 index 00000000000..a98dd4fcc7f --- /dev/null +++ b/compiler/testData/readClass/type/ArrayOfInt.kt @@ -0,0 +1,3 @@ +package test + +fun fff(): Array = throw Exception() diff --git a/compiler/testData/readClass/type/ArrayOfString.kt b/compiler/testData/readClass/type/ArrayOfString.kt new file mode 100644 index 00000000000..30aac75f9ff --- /dev/null +++ b/compiler/testData/readClass/type/ArrayOfString.kt @@ -0,0 +1,3 @@ +package test + +fun fff(): Array = throw Exception() diff --git a/compiler/testData/readClass/type/ListOfString.kt b/compiler/testData/readClass/type/ListOfString.kt new file mode 100644 index 00000000000..43c0eb8f549 --- /dev/null +++ b/compiler/testData/readClass/type/ListOfString.kt @@ -0,0 +1,3 @@ +package test + +fun fff(): java.util.List = throw Exception() diff --git a/compiler/testData/readClass/type/String.kt b/compiler/testData/readClass/type/String.kt new file mode 100644 index 00000000000..b8a2c48e1ff --- /dev/null +++ b/compiler/testData/readClass/type/String.kt @@ -0,0 +1,3 @@ +package test + +fun fff(): String = "" diff --git a/compiler/testData/readClass/type/StringQ.kt b/compiler/testData/readClass/type/StringQ.kt new file mode 100644 index 00000000000..3a1b7c67336 --- /dev/null +++ b/compiler/testData/readClass/type/StringQ.kt @@ -0,0 +1,3 @@ +package test + +fun fff(): String? = ""