Commit b878acf2 authored by uwdkn's avatar uwdkn

Merge branch 'group6_semantics' into 'master'

group6 semantic test cases

See merge request !33
parents c57d1d3d 732844c4
class Schuessel {
public static void main(String[] Schluessel) {
Schuessel schluessel = (new Schuessel()) + (new Schuessel());
}
}
\ No newline at end of file
class Glas {
public static void main(String[] glas) {
boolean ledlichtchen = (new Glas()) < (new Glas());
}
}
\ No newline at end of file
class IKEA {
public static void main(String[] baum) {
int a = 2;
int b = 5;
int c;
a = b;
a+(b) = c;
}
}
\ No newline at end of file
class IKEA {
public static void main(String[] baum) {
boolean a = true;
boolean c;
!a = c;
}
}
\ No newline at end of file
class Hello {
public static void main(String[] args) {
}
}
class World {
public static void main(String[] args) {
}
}
\ No newline at end of file
class Hello {
public static void main(String[] args) {
}
public void main() {
}
}
\ No newline at end of file
class Blume {
public static void main(String[] nudel) {}
}
\ No newline at end of file
class Juhuu {
public static void main(String[] teekochgeraet) {
/* :) */
}
public Juhuu jippii(int buch, int buch) {}
}
\ No newline at end of file
class Origami {
public int republic;
}
class Miau {
public static void main(String[] hustenbonbon) {
Origami tasse = (new Miau()).klappe(4);
}
public Origami klappe(int baum) {
Origami aaaaaaaa = new Origami();
aaaaaaaa.republic = baum;
return aaaaaaaa;
}
}
\ No newline at end of file
class Baumwurzelextrakt {
public int Baumwurzelextrakt;
public static void main(String[] Baumwurzelextrakt) {
Baumwurzelextrakt[] recursion = new Baumwurzelextrakt[800];
int i = 0;
while(i < 800) {
if(i == 0) {
recursion[i] = new Baumwurzelextrakt();
} else {
recursion[i] = new Baumwurzelextrakt();
recursion[i].Baumwurzelextrakt(recursion[i-1]);
}
i = 1 + i;
}
}
public Baumwurzelextrakt Baumwurzelextrakt(Baumwurzelextrakt keinBaumwurzelextrakt) {
{
int Baumwurzelextrakt = 5;
this.Baumwurzelextrakt = Baumwurzelextrakt + this.Baumwurzelextrakt;
}
{
Baumwurzelextrakt Baumwurzelextrakt = new Baumwurzelextrakt();
Baumwurzelextrakt(new Baumwurzelextrakt());
}
return null;
}
}
\ No newline at end of file
class NotSystem {
public Out System;
public static void main(String[] garage) {
}
public void rolle() {
System.out.println(5);
}
}
class Out {
public Out out;
public void println(int haeuschen) {
/* fertig */
}
}
class System {
public Out out;
public static void main(String[] garage) {
}
public void nochNeRolle() {
System System = new System();
System.out.println(5);
}
}
class Out {
public void println(int haeuschen) {
/* fertig */
}
}
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