We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c33263 commit ca0d0f2Copy full SHA for ca0d0f2
test/trim/main_segfault.jl
@@ -0,0 +1,10 @@
1
+module MyModule
2
+include("./optimization_trimmable.jl")
3
+end
4
+
5
+function (@main)(argv::Vector{String})::Cint
6
+ λ = parse(Float64, argv[2])
7
+ sol = MyModule.TestModuleTrimmable.minimize(λ)
8
+ println(Core.stdout, sum(sol.u))
9
+ return 0
10
test/trim/runtests.jl
@@ -53,6 +53,7 @@ end
53
# it does start working. Unfortunately, right now it hangs indefinitely
54
# so we are commenting it out. =#
55
# ("main_clean.jl", false),
56
+ ("main_segfault.jl", false),
57
]
58
binpath = tempname()
59
cmd = `$(Base.julia_cmd()) --project=. --depwarn=error $(JULIAC) --experimental --trim=unsafe-warn --output-exe $(binpath) $(mainfile)`
0 commit comments