svoid test_tok_selfType() {
testTranspilationFunction2 tok_selfType(
"class Bla { selfType x() { this; } }",
"class Bla { Bla x() { this; } }",
"class Bla { selfType x() { this; } }",
"class Bla { Bla x() { this; } }",
"interface BB { selfType x(); }",
"interface BB { BB x(); }",
"class Blume { Class x = selfType.class; Class y() { ret selfType.class; } }",
"class Blume { Class x = Blume.class; Class y() { ret Blume.class; } }",
"class Blume { Class x = selfType.class; Class y() { ret selfType.class; } }",
"class Blume { Class x = Blume.class; Class y() { ret Blume.class; } }",
"enum BB { a; selfType x(); }",
"enum BB { a; BB x(); }",
"class Bla { selfType x() { new selfType(); } }",
"class Bla { Bla x() { new Bla(); } }",
"class Bla> { selfType x() { new selfType(); } }",
"class Bla> { Bla x() { new Bla(); } }",
"class HelloMe { selfType x(O o) { ret (selfType) o; } }",
"class HelloMe { HelloMe x(O o) { ret (HelloMe) o; } }",
"class A { A a; { if (a cast selfType) a.x(); } }",
"class A { A a; { if (a cast A) a.x(); } }",
);
}