compiler-design-eth/javali_tests/HW3_nop90/DoubleDeclarationsErrors/DoubleParams.javali

7 lines
159 B
Text
Raw Permalink Normal View History

2020-01-15 22:32:25 +01:00
// No pair of parameters in a method declaration can have the same name
class Main {
void main() {}
int action(int p1, boolean p2, Object p, Object p) {}
}