summaryrefslogtreecommitdiffstats
path: root/tests/new/NulIOException2.java
blob: af42b4eed39630f9470a50616729dbd08e85cdf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import org.aspectj.testing.Tester;

class Super {
    Super(Object o){}
}
/** windows treats filename "nul" specially, like /dev/null on unix */
public class NulIOException2 extends Super {
    public static void main(String[] args) {
        Object nul = new Object(); // @testcase nul as identifier
        Object p = new NulIOException2(nul);
        Tester.check(null != nul, "null nul");
        Tester.check(null != p, "null NulIOException2");
    }
    NulIOException2(Object o) { super(o); } 
}