2020-03-09 21:14:07 +00:00
|
|
|
library Arst {
|
|
|
|
enum Foo {Things, Stuff}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
contract Tsra {
|
|
|
|
function f() public returns (uint256) {
|
|
|
|
Arst.Foo;
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-17 20:24:33 +00:00
|
|
|
// ====
|
|
|
|
// compileViaYul: also
|
2020-03-09 21:14:07 +00:00
|
|
|
// ----
|
|
|
|
// f() -> 1
|