[minor] Update test data for 1.4

This commit is contained in:
Pavel Kirpichenkov
2019-12-19 15:13:42 +03:00
parent ba640be81d
commit ac47c0cf3c
12 changed files with 12 additions and 0 deletions
@@ -1,3 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// KT-9733 No error shown for 2 "main" functions in the same file
fun main(args: Array<String>) {}
@@ -1,3 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// KT-9733 No error shown for 2 "main" functions in the same file
<!CONFLICTING_OVERLOADS!>fun main(args: Array<String>)<!> {}
@@ -1,3 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: a.kt
fun main() {}
@@ -1,3 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: a.kt
<!CONFLICTING_OVERLOADS!>fun main()<!> {}
@@ -1,3 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: a.kt
package foo
@@ -1,3 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: a.kt
package foo
@@ -1,3 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
fun main(args: Array<String>) {
fun f() = run {
private class C {
@@ -1,3 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
fun main(args: Array<String>) {
fun f() = run {
<!WRONG_MODIFIER_TARGET!>private<!> class C {
@@ -1,5 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// !WITH_NEW_INFERENCE
// !LANGUAGE: -DslMarkerOnFunctionTypeReceiver
@Target(AnnotationTarget.TYPE)
@DslMarker
@@ -1,5 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// !WITH_NEW_INFERENCE
// !LANGUAGE: -DslMarkerOnFunctionTypeReceiver
@Target(AnnotationTarget.TYPE)
@DslMarker
@@ -1,4 +1,5 @@
// !CHECK_TYPE
// !LANGUAGE: -ProhibitProtectedCallFromInline
// FILE: module1/AbstractModule.java
package module1;
@@ -1,4 +1,5 @@
// !CHECK_TYPE
// !LANGUAGE: -ProhibitProtectedCallFromInline
// FILE: module1/AbstractModule.java
package module1;