1: #line 1101 "./lpsrc/flx_regress.pak" 2: //Check member count
3: #import <flx.flxh> 4: // HACK! 5: // NOTE: who_cares is now in the library! 6: // See Typing::memcount. 7: // 8: const who_cares[t] : int = "#memcount"; 9: print who_cares[22]; endl; 10: 11: proc f[t,n] (a:t ^ n) { print who_cares[n]; endl; } 12: proc f2[t] (a:t) { print who_cares[t]; endl; } 13: var x: double ^ 42; 14: f x; 15: f2 x;
1: 22 2: 42 3: 42