Skip to content

Commit 128c50f

Browse files
authored
Merge pull request swiftlang#16125 from compnerd/winenum
2 parents a1a797e + 5ace2d9 commit 128c50f

File tree

1 file changed

+8
-0
lines changed
  • test/IRGen/Inputs/usr/include

1 file changed

+8
-0
lines changed

test/IRGen/Inputs/usr/include/Gizmo.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,19 @@ typedef NS_ENUM(unsigned, NeverActuallyMentionedByName) {
129129
- (NeverActuallyMentionedByName)getValue;
130130
@end
131131

132+
#if defined(_WIN32)
133+
enum RawEnumInGizmo : unsigned {
134+
InGizmoOne=0x7FFFFFFF,
135+
InGizmoTwo,
136+
InGizmoThree
137+
};
138+
#else
132139
enum RawEnumInGizmo {
133140
InGizmoOne=0x7FFFFFFF,
134141
InGizmoTwo,
135142
InGizmoThree
136143
};
144+
#endif
137145

138146
struct StructOfNSStrings {
139147
__unsafe_unretained NSString *a;

0 commit comments

Comments
 (0)