852N/A/*
852N/A * @test /nodynamiccopyright/
852N/A * @bug 5017953
852N/A * @summary spurious cascaded diagnostics when name not found
852N/A * @compile/fail/ref=T5017953.out -XDrawDiagnostics T5017953.java
852N/A */
852N/A
852N/Aclass T5017953 {
852N/A
852N/A int f = 0;
852N/A void test(int i) {}
852N/A
852N/A { test(NonExistentClass.f ++);
852N/A test(1 + NonExistentClass.f);
852N/A test(NonExistentClass.f + 1);
852N/A test(NonExistentClass.f + NonExistentClass.f);
852N/A test(NonExistentClass.f += 1);
852N/A test(f += NonExistentClass.f);
852N/A }
852N/A}