blob: aa16a6b46cbb185da4d125ee9a6f9ba1bf57fb1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
contract C {
struct S { uint a; }
S x;
function f() view public {
S y = x;
y;
}
}
// ----
// Warning: (86-89): Variable is declared as a storage pointer. Use an explicit "storage" keyword to silence this warning.
|