[TMP] Repros for crashes in semantic tests

This commit is contained in:
Kamil Śliwak committed 2023-09-14 17:34:12 +02:00
1 parent acad00f461
commit 206c06f0b3
5 files changed
+56

No files matched your search

@@ -0,0 +1,12 @@
pragma experimental solidity;
contract C {
fallback() external {
let x: bool;
if (x) {}
else {}
}
}
// ----
// (): ->
@@ -0,0 +1,9 @@
pragma experimental solidity;
contract C {
fallback() external {
integer.abs();
}
}
// ----
// () ->
@@ -0,0 +1,13 @@
pragma experimental solidity;
type X = word;
class T: TC {}
instantiation X: TC {
function f() -> bool {
return 1;
}
}
// ----
// () ->
@@ -0,0 +1,13 @@
pragma experimental solidity;
type X = word;
class T: TC {}
instantiation X: TC {
function f() -> bool {
return "";
}
}
// ----
// () ->
@@ -0,0 +1,9 @@
pragma experimental solidity;
contract C {
fallback() external {
revert;
}
}
// ----
// () ->