aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/reflect.txt
diff options
context:
space:
mode:
authorDamian Gryski <[email protected]>2022-12-07 09:45:03 -0800
committerAyke <[email protected]>2022-12-07 23:11:40 +0100
commit86f125cf72e1cdab8add5add14dc8b1134bef042 (patch)
treeb049349bddd6e8768d6de01bf4ca8cbc79de747f /testdata/reflect.txt
parent5293d3e5f0fca3afb73295e114fe9f151766b17f (diff)
downloadtinygo-86f125cf72e1cdab8add5add14dc8b1134bef042.tar.gz
tinygo-86f125cf72e1cdab8add5add14dc8b1134bef042.zip
reflect: track flags when size changes from fits-in-pointer to not
Fixes #3328
Diffstat (limited to 'testdata/reflect.txt')
-rw-r--r--testdata/reflect.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/testdata/reflect.txt b/testdata/reflect.txt
index 26d7b8b46..03a7e5e59 100644
--- a/testdata/reflect.txt
+++ b/testdata/reflect.txt
@@ -334,6 +334,20 @@ reflect type: ptr
exported: false
reflect type: int addrable=true caninterface=false
int: 42
+reflect type: struct
+ struct: 2
+ field: 0 A
+ tag:
+ embedded: false
+ exported: true
+ reflect type: uintptr
+ uint: 2
+ field: 1 B
+ tag:
+ embedded: false
+ exported: true
+ reflect type: uintptr
+ uint: 3
reflect type: slice comparable=false
slice: interface 3 3
pointer: true