mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 08:51:21 +00:00
Adds SEQ_DECL_SIZE 1 back under clang and a test (#23942)
This commit is contained in:
4
tests/cpp/fam.h
Normal file
4
tests/cpp/fam.h
Normal file
@@ -0,0 +1,4 @@
|
||||
struct Test{
|
||||
~Test() {
|
||||
}
|
||||
};
|
||||
7
tests/cpp/tfam.nim
Normal file
7
tests/cpp/tfam.nim
Normal file
@@ -0,0 +1,7 @@
|
||||
discard """
|
||||
targets: "cpp"
|
||||
"""
|
||||
type
|
||||
Test {.importcpp, header: "fam.h".} = object
|
||||
|
||||
let test = newSeq[Test]()
|
||||
Reference in New Issue
Block a user