• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// 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;
8enum {
9    UIViewNone         = 0x0,
10    UIViewMargin       = 0x1,
11    UIViewWidth        = 0x2,
12    UIViewRightMargin  = 0x3,
13    UIViewBottomMargin = 0xbadbeef
14};
15typedef NSInteger UITableStyle;
16
17
18typedef
19  enum { two = 1 } NumericEnum2;
20
21typedef enum { three = 1 } NumericEnum3;
22
23typedef enum { four = 1 } NumericEnum4;
24
25