aboutsummaryrefslogtreecommitdiff
path: root/tests/typeerrors/notstruct.zc
blob: 9dc4347adda624d5f0aadaaf21926c594e03744c (plain) (blame)
1
2
3
4
namespace;

// expect: .x: that's a int, not a struct or a pointer to one
fn main() { int n = 1; return n.x; }