summaryrefslogtreecommitdiff
path: root/tests/ir
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2018-12-13 12:26:36 -0800
committerGitHub <noreply@github.com>2018-12-13 12:26:36 -0800
commit970b58a209e06afc7bd104e4701abfbb055f7c4d (patch)
treecf57d89d6292d2f471c286b1b1c8d62d6b68bf84 /tests/ir
parent8d13c06ab51f4993f5c56772e83fba3c384674df (diff)
parent822ed708364b257b7d2f61ecb8a51a4c96f7edaa (diff)
Merge branch 'master' into dictfix
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 = {
}