aboutsummaryrefslogtreecommitdiff
path: root/tests/typeerrors/typedef_mismatch.zc
blob: 26453dd31f95189412856aa5ccb63517a537e6d7 (plain) (blame)
1
2
3
4
5
6
namespace;

// expect: type error: initializer: expected int, got char*
typecheck on;
typedef int count;
fn main() { count c = "text"; return 0; }