blob: 6300e166b342a69fd92230821e6beba677c77bd1 (
plain) (
blame)
1
2
3
4
5
6
|
// expect: 1/1/1/
// spec 1.3.4: sizeof, typeof, len are expression keywords
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { int[4] a; pn(sizeof(int)); pn(typeof(int) != 0); pn(len(a) == 4); return 0; }
// zc0: skip
|