Commit 029ac0e9 authored by uwdkn's avatar uwdkn

Merge branch 'g6-parser-tests' into 'master'

group 6 parser tests

See merge request !22
parents 1613ed61 9c1f1cf1
This diff is collapsed.
class A {
public int a;
public void method() {
a = array[4][];
}
}
\ No newline at end of file
class A {
public int field;
public CustomType field;
public boolean field;
public void field;
public int[] field;
public CustomType[] field;
public boolean[] field;
public void[][][][][][] field;
}
\ No newline at end of file
class A {
public int method() {}
public boolean method() {}
public void method() {}
public CustomType method() {}
public int[] method() {}
public boolean[] method() {}
public void[] method() {}
public CustomType[] method() {}
public int[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] method() {}
public boolean[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] method() {}
public void[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] method() {}
public CustomType[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] method() {}
public int[] method(int parameter, int parameter, int parameter, int parameter, int parameter, int parameter) {}
}
\ No newline at end of file
class A {
public int[] method(int parameter, int parameter, int parameter, int parameter, int parameter, int parameter,) {}
}
\ No newline at end of file
class FibonacciRecursive {
public static void main(String[] args) {
int a = 10;
int f = fibonacci(a);
}
public int fibonacci(int n) {
if(n <= 1) {
return n;
} else {
return fibonacci(n - 1) + fibonacci(n - 2);
}
}
}
class 42 {
public static void main() {
int x = 42;
}
}
class X {
public static void main(String[] args) {
int a = 0;
int b = 2;
int c = 5;
int d;
d = ((((a + b) * c) - a) / (c % d + ((b - 1) * c));
}
}
class A {
public type a;
public void method() {
a = new array[5][][][][][][][][][][][][];
}
}
\ No newline at end of file
class A {
public static int main(String[] args) {}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment