1 /*
 2  * @test /nodynamiccopyright/
 3  * @summary Check inlineness via __inline__ annotation
 4  * @bug 8222745
 5  * @compile/fail/ref=InlineAnnotationTest.out -XDrawDiagnostics InlineAnnotationTest.java
 6  */
 7 
 8 @__primitive__
 9 class InlineAnnotationTest01 extends Object { 
10 }
11 
12 @__primitive__
13 class InlineAnnotationTest02 { 
14 }
15 
16 @java.lang.__primitive__
17 class InlineAnnotationTest03  { 
18     int x = 10;
19     InlineAnnotationTest03() {
20         x = 20;
21     }
22 }
23 
24 @__primitive__
25 interface InlineAnnotationTest04 { 
26 }