aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/3-expressions/sizeof_packed.zc
blob: 86df5b16a524859f728384e86e23d5986fdf56f6 (plain) (blame)
1
2
3
4
5
6
// expect: 13/1/
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
struct four { u8 a, b, c, d; }
fn main() { pn(sizeof(u8[100])); pn(sizeof(four)); return 0; }
// zc0: skip