blob: f7dac2b3bc75fabed81bbf45d262929ee10b50e8 [file]
// RUN_PIPELINE_TILL: BACKEND
// 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 */