blob: b3c1974c1e7aedd2779c47dace008ba0907d886d [file] [log] [blame]
// RUN: %target-run-simple-swift | FileCheck %s
// REQUIRES: executable_test
class C {
deinit {
print("boom! roasted")
}
}
class D : C {
deinit {
print("i can't decide between a fat joke and a dumb joke")
}
}
C()
// CHECK: boom! roasted
D()
// CHECK-NEXT: i can't decide between a fat joke and a dumb joke
// CHECK-NEXT: boom! roasted