blob: 92cdfe3d7cfdc8bc8788c82ce708660f71b03abc [file] [log] [blame]
Fariborz Jahanian80ebf8d2014-10-07 19:01:46 +00001// RUN: rm -rf %t
2// RUN: %clang_cc1 -fmodules -objcmt-migrate-ns-macros -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11
3// RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
4
5// rdar://18498550
6
7typedef long NSInteger;
8@import Foundation;
9typedef NS_OPTIONS(NSUInteger, UITableStyle) {
10 UIViewNone = 0x0,
11 UIViewMargin = 0x1,
12 UIViewWidth = 0x2,
13 UIViewRightMargin = 0x3,
14 UIViewBottomMargin = 0xbadbeef
15};
16
17
18typedef
19 NS_ENUM(NSInteger, NumericEnum2) { two = 1 };
20
21typedef NS_ENUM(NSInteger, NumericEnum3) { three = 1 };
22
23typedef NS_ENUM(NSInteger, NumericEnum4) { four = 1 };
24