aboutsummaryrefslogtreecommitdiff
path: root/tests/typeerrors/field.zc
blob: 747b6e347b26b74af5455035037ee94d732bf134 (plain) (blame)
1
2
3
4
5
namespace;

// expect: point has no field z
struct point { int x, y; };
fn main() { point p; return p.z; }