Add another test to my last patch (NS_OPTION vs. NS_ENUM)

ObjectiveC migration.

llvm-svn: 188480
This commit is contained in:
Fariborz Jahanian 2013-08-15 19:27:42 +00:00
parent b260f04afc
commit 313ae7009e
2 changed files with 14 additions and 0 deletions

View File

@ -70,3 +70,10 @@ enum {
UIKTwo = 0x2,
};
typedef NSInteger UIK;
typedef enum {
NSTickMarkBelow = 0,
NSTickMarkAbove = 1,
NSTickMarkLeft = NSTickMarkAbove,
NSTickMarkRight = NSTickMarkBelow
} NSTickMarkPosition;

View File

@ -70,3 +70,10 @@ typedef NS_ENUM(NSInteger, UIK) {
UIKTwo = 0x2,
};
typedef NS_ENUM(NSInteger, NSTickMarkPosition) {
NSTickMarkBelow = 0,
NSTickMarkAbove = 1,
NSTickMarkLeft = NSTickMarkAbove,
NSTickMarkRight = NSTickMarkBelow
} ;