Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
framework
/
tests
/
all-systems
/
GenericTest12.java
blob: 24b4b63cde448b3c08cc9995ff3c79ce10a4312a [
file
] [
log
] [
blame
]
// Test case from Issue 142
abstract
class
GenericTest12
{
interface
Task
<
V
>
{}
abstract
<
M
>
Task
<
M
>
create
(
Runnable
runnable
,
M result
);
void
submit
(
Runnable
runnable
)
{
Task
<
Void
>
task
=
create
(
runnable
,
null
);
}
}