mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
Implementation of Kotlin's 'target' annotation mapping to Java's 'Target' annotation + tests
This commit is contained in:
8
compiler/testData/compileJavaAgainstKotlin/targets/function.java
vendored
Normal file
8
compiler/testData/compileJavaAgainstKotlin/targets/function.java
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
@function class My {
|
||||
|
||||
@function int foo() {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user