Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
framework
/
tests
/
all-systems
/
ResourceVariables.java
blob: 53d33294c7d97cfb7dc9ccd9028d974ba26e3bcf [
file
] [
log
] [
blame
]
import
java
.
io
.*;
// Tests related to resource variables in try-with-resources statements.
public
class
ResourceVariables
{
void
foo
(
InputStream
arg
)
{
try
(
InputStream
in
=
arg
)
{
}
catch
(
IOException
e
)
{
}
}
}