]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/example/qi/compiler_tutorial/conjure_samples/precedence.cnj
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / spirit / example / qi / compiler_tutorial / conjure_samples / precedence.cnj
1 /* testing the shunting yard operator precedence algorithm */
2
3 int main()
4 {
5 return 1 + 2 + 3 + 5 * 4 * 6 + 5; /* answer is 131 */
6 }
7
8