\1:2;
if \1≠2 then error("Label \1 doesn't hold the right value!")$

a\,1:test;