mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
java highlighting tests moved to community
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
abstract public class a1 {
|
||||
<error descr="Abstract methods cannot have a body">abstract void f()</error> {}
|
||||
<error descr="Native methods cannot have a body">native void ff()</error> {}
|
||||
|
||||
void f2() {
|
||||
new ii() {
|
||||
public int iif(int i) {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
interface ii {
|
||||
<error descr="Interface methods cannot have body">int iif(int i) throws Exception</error> { return 2; }
|
||||
}
|
||||
Reference in New Issue
Block a user