FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/integration_tests/bindc_01.py at main · Python51888/lpython · GitHub
Python51888
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
integration_tests
/
bindc_01.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (9 loc) · 312 Bytes
Breadcrumbs
lpython
/
integration_tests
/
bindc_01.py
Copy path
File metadata and controls
14 lines (9 loc) · 312 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from
lpython
import
c_p_pointer
,
CPtr
,
i16
,
Pointer
,
empty_c_void_p
queries
:
CPtr
=
empty_c_void_p
()
x
:
Pointer
[
i16
]
=
c_p_pointer
(
queries
,
i16
)
print
(
queries
,
x
)
def
test_issue_1781
():
p
:
CPtr
=
empty_c_void_p
()
assert
p
==
empty_c_void_p
()
assert
not
(
p
!=
empty_c_void_p
())
test_issue_1781
()
Back
|
FazBrowse Home
|
New Git URL