mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Don't synthesize initializers in swiftinterface files
...and then don't complain about a class not having any initializers.
This commit is contained in:
@@ -29,6 +29,14 @@ public class TestClass {
|
||||
deinit
|
||||
} // CHECK: {{^}$}}
|
||||
|
||||
// CHECK-LABEL: public class TestEmptyClass {
|
||||
public class TestEmptyClass {
|
||||
} // CHECK-NEXT: {{^}$}}
|
||||
|
||||
// CHECK-LABEL: public struct TestEmptyStruct {
|
||||
public struct TestEmptyStruct {
|
||||
} // CHECK-NEXT: {{^}$}}
|
||||
|
||||
// CHECK-LABEL: public enum TestEnum
|
||||
public enum TestEnum {
|
||||
// CHECK: case a
|
||||
|
||||
Reference in New Issue
Block a user