aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/objectCompiler/namedObjectCode.yul
diff options
context:
space:
mode:
Diffstat (limited to 'test/libyul/objectCompiler/namedObjectCode.yul')
-rw-r--r--test/libyul/objectCompiler/namedObjectCode.yul13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/libyul/objectCompiler/namedObjectCode.yul b/test/libyul/objectCompiler/namedObjectCode.yul
new file mode 100644
index 00000000..4fc6891c
--- /dev/null
+++ b/test/libyul/objectCompiler/namedObjectCode.yul
@@ -0,0 +1,13 @@
+object "a" {
+ code { sstore(0, 1) }
+}
+// ----
+// Assembly:
+// /* "source":32:33 */
+// 0x01
+// /* "source":29:30 */
+// 0x00
+// /* "source":22:34 */
+// sstore
+// Bytecode: 6001600055
+// Opcodes: PUSH1 0x1 PUSH1 0x0 SSTORE