Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
checker
/
tests
/
nullness
/
Issue376.java
blob: 4a918ee6a85d059ed7f6c2cefb1c67667502a3a8 [
file
] [
log
] [
blame
]
// Test case for Issue 376:
// https://github.com/typetools/checker-framework/issues/376
public
class
Issue376
{
interface
I
{}
<
Q
extends
Enum
<
Q
>
&
I
>
void
m
(
Class
<
Q
>
clazz
,
String
name
)
{
I i
=
Enum
.
valueOf
(
clazz
,
name
);
}
}