☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
semko
/
autocast14.stp
☽
☼
testsuite/semko/autocast14.stp
code
plain
raw
1
#! stap -p2
2
3
global suns
4
probe begin
5
{
6
// Test DWARF assigned to an array index shouldn't propagate types
7
suns[& @cast(0, "sockaddr_un", "<sys/un.h>")] = 1;
8
foreach ([sun] in suns)
9
println(sun->sun_family)
10
}