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 6590e31 commit 0888700Copy full SHA for 0888700
integration_tests/CMakeLists.txt
@@ -287,6 +287,7 @@ RUN(NAME test_builtin_round LABELS cpython llvm c)
287
RUN(NAME test_builtin_divmod LABELS cpython llvm c)
288
RUN(NAME test_math1 LABELS cpython llvm c)
289
RUN(NAME test_math_02 LABELS cpython llvm)
290
+RUN(NAME test_pass_compare LABELS cpython llvm)
291
RUN(NAME test_c_interop_01 LABELS cpython llvm c)
292
RUN(NAME test_c_interop_02 LABELS cpython llvm c
293
EXTRAFILES test_c_interop_02b.c)
integration_tests/test_pass_compare.py
@@ -0,0 +1,13 @@
1
+from ltypes import i32
2
+
3
+def f():
4
+ a11: tuple[i32, i32]
5
+ b11: tuple[i32, i32]
6
+ a11 = (1, 2)
7
+ b11 = (1, 2)
8
+ assert a11 == b11
9
+ c11: tuple[i32, i32]
10
+ c11 = (1, 3)
11
+ assert a11 != c11 and c11 != b11
12
13
+f()
0 commit comments