Skip to content

Commit 5048345

Browse files
committed
Add a test case for skipping synthesized members
1 parent b8ab5d5 commit 5048345

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: %empty-directory(%t)
2+
// RUN: %target-build-swift %s -module-name SkipsSynthesizedMembers -emit-module -emit-module-path %t/
3+
// RUN: %target-swift-symbolgraph-extract -module-name SkipsSynthesizedMembers -I %t -pretty-print -skip-synthesized-members -output-dir %t
4+
// RUN: %FileCheck %s --input-file %t/SkipsSynthesizedMembers.symbols.json
5+
6+
// CHECK-NOT: ::SYNTHESIZED
7+
8+
public struct ShouldAppear: Hashable {
9+
public let foo: Int
10+
}

0 commit comments

Comments
 (0)