Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
framework
/
tests
/
value
/
RegexPatternSyntaxException.java
blob: 5e34c69d61d7ac040149bf230922be377ef4eff8 [
file
] [
log
] [
blame
]
// A test for malformed @MatchesRegex annotations.
import
org
.
checkerframework
.
common
.
value
.
qual
.*;
public
class
RegexPatternSyntaxException
{
// :: warning: invalid.matches.regex
void
stringConstants
(
@MatchesRegex
(
"(a*"
)
String
a
)
{}
}