title: What instructions are executed before main() function in Kotlin?
body: <p>In Kotlin, it is said that the <code>main</code> function is the entry point (i.e "...where the first instructions of a program are executed...", see <a href="https://en.wikipedia.org/wiki/Entry_point" rel="nofollow noreferrer">here</a>). However, the following code prints <code>2</code> before <code>1</code> :</p>
  
  <pre><code>fun main(args: Array&lt;String&gt;) {
      println("1")
  }
  
  var print_me = println("2")
  </code></pre>
  
  <p>Why?</p>