diff options
Diffstat (limited to 'tests/ccgbugs/t10964.nim')
-rw-r--r-- | tests/ccgbugs/t10964.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ccgbugs/t10964.nim b/tests/ccgbugs/t10964.nim new file mode 100644 index 000000000..c19db6997 --- /dev/null +++ b/tests/ccgbugs/t10964.nim @@ -0,0 +1,7 @@ +func test*(input: var openArray[int32], start: int = 0, fin: int = input.len - 1) = + discard + +var someSeq = @[1'i32] + +test(someSeq) +# bug with gcc 14 \ No newline at end of file |