Code: Select all
Type t As Any Ptr
Sub test (Byval p As t = 0)
End Sub
test(0)
test()
Dim As Sub (Byval As t = 0) ptest = @test
ptest(0)
ptest()
...\FBIDETEMP.bas(11) error 1: Argument count mismatch, found ')' in 'ptest()'
That compiles with any other pointer type.