//
// Source
// ------------------------------------------

import androidx.compose.runtime.*

@Composable
fun Test(): String {
    key(1) {
        return "foo"
    }
}

//
// Transformed IR
// ------------------------------------------

@Composable
@FunctionKeyMeta(key = -801210939, startOffset = 84, endOffset = 194)
fun Test(%composer: Composer?, %changed: Int): String {
  %composer.startReplaceGroup(<>)
  sourceInformation(%composer, "C(Test):Test.kt")
  if (isTraceInProgress()) {
    traceEventStart(<>, %changed, -1, <>)
  }
  %composer.startMovableGroup(<>, 1)
  val tmp0_return = "foo"
  %composer.endMovableGroup()
  if (isTraceInProgress()) {
    traceEventEnd()
  }
  %composer.endReplaceGroup()
  return tmp0_return
  %composer.endMovableGroup()
  if (isTraceInProgress()) {
    traceEventEnd()
  }
  %composer.endReplaceGroup()
}
