aboutsummaryrefslogtreecommitdiff
path: root/tests/langerrors/parseword_noread.zc
blob: 8de985cd141e57bd6427cf59198a436f747fa7ff (plain) (blame)
1
2
3
4
5
6
7
namespace;

// expect: a parse word has to read its own name
// a parse word that never calls next() would be called on the same token forever
immediate fn pw() { return 0; }
pw
fn main() { return 0; }