Separated test data depending on target platform (JS/JVM)

This commit is contained in:
Evgeny Gerashchenko
2013-11-20 21:00:25 +04:00
parent f06e46951f
commit d937909ebf
54 changed files with 23 additions and 22 deletions
@@ -0,0 +1,13 @@
/*
To regenerate this test:
1. Change JvmAbi.VERSION to -1
2. Run 'ant dist'
3. Rename this file and wrong-package: delete 'txt' extension
4. Compile two files with the newly built compiler from dist/
5. Rename files back: add 'txt' extension
6. Change JvmAbi.VERSION back to its old value
7. Run 'ant dist'
After these steps, the test should succeed
*/
class ClassWithWrongAbiVersion
@@ -0,0 +1,3 @@
package wrong
fun bar() {}