blob: 1c7a79d49691165dd58a9e38483bfa8f5fea16b4 [file]
// RUN_PIPELINE_TILL: CODEGEN
// FULL_JDK
import java.util.regex.Pattern
val strs: List<String> = listOf("regex1", "regex2")
val patterns: List<Pattern> = strs.map(Pattern::compile)
/* GENERATED_FIR_TAGS: flexibleType, javaCallableReference, propertyDeclaration, stringLiteral */