mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Activating some tests viaYul after implementing getters for bytes.
This commit is contained in:
@@ -2,13 +2,17 @@ contract C {
|
||||
string public a;
|
||||
string public b;
|
||||
bytes public c;
|
||||
string public d = "abcd";
|
||||
constructor() {
|
||||
a = "hello world";
|
||||
b = hex"41424344";
|
||||
c = hex"ff077fff";
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// a() -> 0x20, 11, "hello world"
|
||||
// b() -> 0x20, 4, "ABCD"
|
||||
// c() -> 0x20, 4, -439061522557375173052089223601630338202760422010735733633791622124826263552
|
||||
// d() -> 0x20, 4, "abcd"
|
||||
|
||||
Reference in New Issue
Block a user