Add test on accidental redeclaration of final members from java.lang.Enum

This is working because of the additional built-ins members added in 1.1
This commit is contained in:
Alexander Udalov
2016-06-14 20:12:11 +03:00
parent 79ecc9751b
commit af9883bccf
3 changed files with 32 additions and 0 deletions
@@ -0,0 +1,6 @@
enum class E {
ENTRY;
<!VIRTUAL_MEMBER_HIDDEN!>fun getDeclaringClass()<!> {}
<!VIRTUAL_MEMBER_HIDDEN!>fun finalize()<!> {}
}