Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / resources / sksl / errors / IllegalRecursionMutual.rts
1 // Expect 1 error
2
3 // Straightforward mutual recursion (not allowed)
4 bool is_even(int n);
5 bool is_odd (int n) { return n == 0 ? false : is_even(n - 1); }
6 bool is_even(int n) { return n == 0 ? true  : is_odd (n - 1); }
7
8 /*%%*
9 potential recursion (function call cycle) not allowed:
10         bool is_odd(int n)
11         bool is_even(int n)
12         bool is_odd(int n)
13 *%%*/