Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
mjtest-tests
Commits
7d63afd4
Commit
7d63afd4
authored
Nov 03, 2021
by
Daniel Meyer
Committed by
Paul Brinkmeier
Nov 04, 2021
Browse files
inital testcases from group2
parent
7f44cdbc
Changes
8
Hide whitespace changes
Inline
Side-by-side
syntax/AdditionalSemicolon.invalid.mj
0 → 100644
View file @
7d63afd4
class Class {
public static void main(String[] args) {
return if(var) ; else ;;
}
}
\ No newline at end of file
syntax/BlockStatement.mj
0 → 100644
View file @
7d63afd4
class _testClass {
public static void main (void[][][] _ident) {
{;}{{{{{{{{{}}}}}}}}}{{{;}}}{;}
}
public void _VoId(int _VoId) throws EVIL {
return;
return((new void [this = this][]));
}
public static void main(String ) {
while (null) {
}
}
}
syntax/EmptyClassNamedStaticMethod.mj
0 → 100644
View file @
7d63afd4
class Empty
{
}
class Valid {
public static void notMain(void test) throws Exception {
0.method(test, method2(0, true)).arr[false].field;
return new void[false || 17 = true = false][][][42].call();
}
}
syntax/InvalidExpression.invalid.mj
0 → 100644
View file @
7d63afd4
class claus {
public static void main(String[] args) {
while(1 <= < 2) ;
}
}
syntax/MissingPrimaryExpr.invalid.mj
0 → 100644
View file @
7d63afd4
class _Name {
public static void main(String ) {
test test = .ident;
}
}
\ No newline at end of file
syntax/StaticInt.nvalid.mj
0 → 100644
View file @
7d63afd4
class Invalid {
public static int main(String[] args) { }
}
syntax/UnderscoreNamesTypes.mj
0 → 100644
View file @
7d63afd4
class _ {
public void Void() throws _class {
boolean[] Int = Void02(someclass.Int);
if(Int) ; else {
return Int || intbool = 3;
}
}
public _ _(){;}
public static void othermain() {
if(var) return var; else while(true) if(var2) while(false) ;
{{}; {{}; {{};;}}}
}
}
syntax/ValidSyntaxInvalidSemantics.mj
0 → 100644
View file @
7d63afd4
class _0a {
public thisTypeDoesntExist void_;
public Type IDENT ;
public static void mai_n(Schtring[][] args) throws _0a {
int a = null;
thiss.arr[0 > 2]
.lala[new k()]
[-1].method(-!this);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment