Don't synthesize initializers in swiftinterface files

...and then don't complain about a class not having any initializers.
This commit is contained in:
Jordan Rose
2018-08-16 17:57:18 -07:00
parent 0ca78265ef
commit c62fcad553
3 changed files with 27 additions and 2 deletions

View File

@@ -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