Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import dl
|
||||
|
||||
type RealOpen = fn (charptr, int, int) int
|
||||
|
||||
fn test_rtld_next() {
|
||||
$if windows {
|
||||
println('skipping test_rtld_next on windows')
|
||||
return
|
||||
}
|
||||
real_open := RealOpen((dl.sym(dl.rtld_next, 'open')))
|
||||
println(ptr_str(real_open))
|
||||
assert real_open != unsafe { nil }
|
||||
assert dl.dlerror() == ''
|
||||
}
|
||||
Reference in new issue
Block a user