Files
Jaebaek Seo 28928ffed4 Add K2 compose checker tests
So far, we ran smoke tests for compose checker on Android Studio, but
now the compose compiler plugin is a part the upstream KT compiler, and
we enabled it for the upstream IntelliJ as well. This commit adds
similar smoke tests to IntelliJ. Since we will work on the compose
support for KMP, I believe this new smock test helps us to detect some
issues of enabling the compose compiler plugin checker.

^KTIJ-30601

GitOrigin-RevId: 6c461ac9435d180b5cdda2529a400a0da4b8aa6c
2024-08-06 13:49:41 +00:00

9 lines
213 B
Kotlin

// COMPILER_ARGUMENTS: -Xplugin=$TEST_DIR$/compose_fake_plugin.jar
// FILE: main.kt
// ALLOW_ERRORS
import androidx.compose.runtime.Composable
class Impl : @Composable () -> Unit {
override fun invoke() {}
}