mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
25 lines
423 B
Java
25 lines
423 B
Java
class s {
|
|
void f() {
|
|
int i;
|
|
int <error descr="Variable 'i' is already defined in the scope">i</error>;
|
|
}
|
|
void f1() {
|
|
int i;
|
|
{
|
|
int <error descr="Variable 'i' is already defined in the scope">i</error>;
|
|
}
|
|
}
|
|
void f2() {
|
|
int i;
|
|
class ss
|
|
{
|
|
int i;
|
|
}
|
|
}
|
|
|
|
int f;
|
|
int <error descr="Variable 'f' is already defined in the scope">f</error>;
|
|
void f3() {
|
|
int f;
|
|
}
|
|
} |