aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/7-compile-time/quote_count.zc
blob: a6369a8c93af4b11e4863e22f25571be2f106230 (plain) (blame)
1
2
3
4
5
6
7
// expect: 3/
// spec 7.4
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
include run;
fn main() { int* q = quote { a + b }; pn(q[0]); return 0; }
// zc0: skip