Commit e95c5997 authored by uxrog's avatar uxrog
Browse files

Merge branch 'DerCompiler' into 'master'

added syntax tests for merge-request from group DerCompiler

See merge request !23
parents d6015f1a 949a8450
Pipeline #174900 failed with stage
in 7 minutes and 45 seconds
class Add {
public int add(int a, int b) {
return a + b;
}
}
class PrivateMember {
public int[][][] test;
public int foo() {
{}{}{{}}
}
}
class PrivateMember {
int test[];
private int foo() {
return 0;
}
}
class DerCompiler {
public static void main(String[] args){
CommandLineBuilder clb = new CommandLineBuilder();
clb.parseArguments(args);
CommandLineOptions options = clb.parseArguments(args);
CompilerSetup.setupGlobalValues(options);
Action action = new CompilerSetup().parseAction(options);
boolean showHelp = options.help();
options.finish();
if (showHelp) {
action.help();
} else {
action.run();
}
System.exit(0);
}
}
class FooTester2 {
public boolean isFoo(String maybeFoo; String definitelyFoo) {
return maybeFoo _ definitelyFoo;
}
}
class FooTester {
public void foo() {}
public boolean isFoo(String maybeFoo, String definitelyFoo) {
return maybeFoo == definitelyFoo;
}
}
class PrivateMember {
public int test;
public static void foo(int a) {
}
public String test;
}
class irgendwas{
public static void fib(Integer i){
return fib(1);
return fib(test);
return;
}
}
class PrivateMember {
private int foo() {
return 0;
}
}
class ReturnWhile {
public void returnWhile() {
return while(true);
}
}
class UseFor {
public int[] foo;
public void useFor() {
foo = new int[10];
for (int i = 0; i < 10; i++) {
foo[i] = 0;
}
}
}
Supports Markdown
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