Files
swift-mirror/test/Interop/Cxx/templates/define-referenced-inline.swift
zoecarver b4abb47a65 [cxx-interop] Mark un-specialized class templates as unavailable in Swift.
They don't really work, so let's not "support" them yet.
2022-10-19 17:50:53 -07:00

19 lines
563 B
Swift

// RUN: %target-run-simple-swift(-I %S/Inputs -Xfrontend -enable-experimental-cxx-interop -Xcc -fno-exceptions -Xfrontend -disable-availability-checking)
//
// REQUIRES: executable_test
import DefineReferencedInline
import StdlibUnittest
var TemplatesTestSuite = TestSuite("TemplatesTestSuite")
TemplatesTestSuite.test("tests") {
let a = CtorCallsInlineFn<CInt>(0)
let b = HasInlineDtor<CInt>()
let c = ParentWithChildWithInlineCtorDtor<CInt>()
let d = HolderWithChildWithInlineCtorDtor<CInt>()
let e = DtorCallsInlineMethod<CInt>()
}
runAllTests()