Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
framework
/
tests
/
annotationclassloader
/
LoaderTest.java
blob: 69e50fdc58554d0b7172a560e34a96122c653310 [
file
] [
log
] [
blame
]
import
org
.
checkerframework
.
common
.
aliasing
.
qual
.
Unique
;
public
class
LoaderTest
{
void
foo
()
{
@Unique
Object
o
=
new
Object
();
// :: error: (unique.leaked)
Object
[]
ar
=
new
Object
[]
{
o
};
}
}