1 /*
   2  * @test /nodynamiccopyright/
   3  * @summary smoke negative test for datum classes
   4  * @compile/fail/ref=RecordsCantBeAbstractTest.out -XDrawDiagnostics RecordsCantBeAbstractTest.java
   5  */
   6 
   7 abstract record RecordsCantBeAbstractTest(int i);