summaryrefslogtreecommitdiff
path: root/src/mongo/db/test_output/exec/sbe/s_b_e_local_bind_test/nested_bind1.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/test_output/exec/sbe/s_b_e_local_bind_test/nested_bind1.txt')
-rw-r--r--src/mongo/db/test_output/exec/sbe/s_b_e_local_bind_test/nested_bind1.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/mongo/db/test_output/exec/sbe/s_b_e_local_bind_test/nested_bind1.txt b/src/mongo/db/test_output/exec/sbe/s_b_e_local_bind_test/nested_bind1.txt
new file mode 100644
index 00000000000..ede4ae8caf7
--- /dev/null
+++ b/src/mongo/db/test_output/exec/sbe/s_b_e_local_bind_test/nested_bind1.txt
@@ -0,0 +1,29 @@
+# Golden test output of SBELocalBindTest/NestedBind1
+-- INPUT EXPRESSION:
+
+ let [
+ l20.0 = 20
+ ]
+ in (
+ let [
+ l10.0 = 10
+ ]
+ in (l10.0 + l20.0)
+ + l20.0)
+
+
+-- COMPILED EXPRESSION:
+[0x0000-0x002a]
+0x0000: pushConstVal(value: 20);
+0x000a: pushConstVal(value: 10);
+0x0014: add(popLhs: 0, offsetLhs: 0, popRhs: 0, offsetRhs: 1);
+0x001f: swap();
+0x0020: pop();
+0x0021: add(popLhs: 1, offsetLhs: 0, popRhs: 0, offsetRhs: 1);
+0x0028: swap();
+0x0029: pop();
+
+
+-- EXECUTE VARIATION:
+RESULT: 50
+