From e92e709de7d9b92cff1c1d94ddc26ebb7699cc62 Mon Sep 17 00:00:00 2001 From: mbkma <39454100+mbkma@users.noreply.github.com> Date: Mon, 16 Mar 2020 00:21:35 +0100 Subject: parserfunc: fix crash when calculating nested pow --- src/test-mp-equation.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test-mp-equation.c') diff --git a/src/test-mp-equation.c b/src/test-mp-equation.c index d31c546..becf742 100644 --- a/src/test-mp-equation.c +++ b/src/test-mp-equation.c @@ -435,6 +435,7 @@ test_equations(void) test("2²", "4", 0); test("2³", "8", 0); test("2¹⁰", "1024", 0); + test("2³ ²", "512", 0); test("(1+2)²", "9", 0); test("(x)²", "4", 0); test("|1−3|²", "4", 0); -- cgit v1.2.1