title: why is main(args: Array<String>) allowed to be defined in more than one file
body: <p>I have defined main(args: Array) in two Kotlin files in the same package. The compiler does not complain. Why not?
  I am using IntelliJ IDEA with Gradle</p>
  
  <pre><code>#file1.kt
  package test
  fun main(args: Array&lt;String&gt;) {}
  
  #file2.kt
  package test
  fun main(args: Array&lt;String&gt;) {}
  </code></pre>