Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / testsuite / libjava.lang / PR19870_2.java
blob4dd7c7fa9a107e8919b6b9a16cf6c8d6ce129f50
1 // PR19870: Test synthetic accessor generation for private static methods
2 // accessed across nested class boundaries.
3 public class PR19870_2
5 static class A
7 private static void foo( )
9 System.out.println( "1");
12 private static void bar( int x)
14 System.out.println( x);
15 snafu( );
16 PR19870_2.snafu( );
20 static class B
22 private static void foo( )
24 A.foo( );
28 private static void snafu( )
30 System.out.println( "3");
33 public static void main( String[] args)
35 A.foo( );
36 A.bar( 2);
37 B.foo( );