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

// expect: type error: initializer: expected char*, got int
typecheck on;
fn main() { char* s = 5; return 0; }