summaryrefslogtreecommitdiff
path: root/libgo/go/debug/dwarf/type_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/debug/dwarf/type_test.go')
-rw-r--r--libgo/go/debug/dwarf/type_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/debug/dwarf/type_test.go b/libgo/go/debug/dwarf/type_test.go
index b5b255f6f4..2cb85e74bb 100644
--- a/libgo/go/debug/dwarf/type_test.go
+++ b/libgo/go/debug/dwarf/type_test.go
@@ -73,6 +73,8 @@ func TestTypedefsMachO(t *testing.T) {
testTypedefs(t, machoData(t, "testdata/typedef.macho"), "macho")
}
+func TestTypedefsELFDwarf4(t *testing.T) { testTypedefs(t, elfData(t, "testdata/typedef.elf4"), "elf") }
+
func testTypedefs(t *testing.T, d *Data, kind string) {
r := d.Reader()
seen := make(map[string]bool)