1 /*
   2  * @test /nodynamiccopyright/
   3  * @summary Values may not extend
   4  * @modules java.base/jvm.internal.value
   5  * @compile/fail/ref=CheckExtends.out -XDrawDiagnostics -Werror  -Xlint:values CheckExtends.java
   6  */
   7 @jvm.internal.value.DeriveValueType
   8 final class CheckExtends extends Object {
   9 }