summaryrefslogtreecommitdiffstats
path: root/tests/ir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ir')
-rw-r--r--tests/ir/string-literal.slang.expected25
1 files changed, 6 insertions, 19 deletions
diff --git a/tests/ir/string-literal.slang.expected b/tests/ir/string-literal.slang.expected
index 4503cb74a..7bc66d682 100644
--- a/tests/ir/string-literal.slang.expected
+++ b/tests/ir/string-literal.slang.expected
@@ -1,27 +1,14 @@
result code = 0
standard error = {
-let %1 : _ = String()
-let %2 : %1 = string_constant("main")
-let %3 : _ = Void()
-let %4 : _ = UInt()
-let %5 : _ = Func(%3, %4)
-let %6 : _ = BasicBlock()
-let %7 : _ = Ptr(%3)
-let %8 : %7 = ptr_constant()
-let %9 : %1 = string_constant("tid")
-Ptr(%4)
-let %10 : %1 = string_constant("Hello \t\n\0x083 World")
-let %11 : %7 = ptr_constant()
-[highLevelDecl(%11)]
+[export("_S04mainp1puV")]
[nameHint("main")]
-func @_S04mainp1puV : %5
+func %main : Func(Void, UInt)
{
-block %12(
- param %13 : %4):
- return_void()
+block %1(
+ [nameHint("tid")]
+ param %tid : UInt):
+ return_void
}
-
-
}
standard output = {
}