Files
kotlin-fork/kotlin-native/backend.native/tests/framework/abstractInstantiation/abstractInstantiation.swift
T

18 lines
413 B
Swift

import Foundation
import AbstractInstantiation
func testInstantiate() throws {
// this is failure test, it shouldn't work
let base = AbstractBase(y: 5)
}
class AbstractInstantiationTests : TestProvider {
var tests: [TestCase] = []
init() {
providers.append(self)
tests = [
TestCase(name: "testInstantiate", method: withAutorelease(testInstantiate))
]
}
}