Adds SEQ_DECL_SIZE 1 back under clang and a test (#23942)

This commit is contained in:
Juan M Gómez
2024-08-12 17:10:17 +01:00
committed by GitHub
parent 0c890ff9a7
commit 630c304a2d
3 changed files with 14 additions and 1 deletions

4
tests/cpp/fam.h Normal file
View File

@@ -0,0 +1,4 @@
struct Test{
~Test() {
}
};

7
tests/cpp/tfam.nim Normal file
View File

@@ -0,0 +1,7 @@
discard """
targets: "cpp"
"""
type
Test {.importcpp, header: "fam.h".} = object
let test = newSeq[Test]()