xref: /aosp_15_r20/external/ksp/integration-tests/src/test/resources/on-error/workload/src/main/kotlin/com/example/A.kt (revision af87fb4bb8e3042070d2a054e912924f599b22b7)
1 package com.example
2 
3 @RequiresOptIn
4 @Retention(AnnotationRetention.BINARY)
5 @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
6 annotation class MyOptIn
7 
8 @OptIn(MyOptIn::class)
mainnull9 fun main() {
10     print("hello world")
11 }
12