aboutsummaryrefslogtreecommitdiffhomepage
path: root/compiler/compiler_test.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-03-24 00:34:29 +0100
committerRon Evans <[email protected]>2021-03-28 14:00:37 +0200
commit5d334922d78ed85e1e83341d2d6262755e043b19 (patch)
treee2fb75033ca2fd6112804e39d187b70279039567 /compiler/compiler_test.go
parente9f9a4b7509fed26603a6114013209d459b9fa8c (diff)
downloadtinygo-5d334922d78ed85e1e83341d2d6262755e043b19.tar.gz
tinygo-5d334922d78ed85e1e83341d2d6262755e043b19.zip
compiler: add interface IR test
This is important as golden test output and to verify that the output is correct. Later improvements and bug fixes are clearly visible in the IR, and unintentional changes will also be immediately spotted.
Diffstat (limited to 'compiler/compiler_test.go')
-rw-r--r--compiler/compiler_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/compiler_test.go b/compiler/compiler_test.go
index 99e14e3e7..5f2d18f45 100644
--- a/compiler/compiler_test.go
+++ b/compiler/compiler_test.go
@@ -61,6 +61,7 @@ func TestCompiler(t *testing.T) {
"slice.go",
"string.go",
"float.go",
+ "interface.go",
}
for _, testCase := range tests {