Debian Codegraph @

clang/test/ARCMT/objcmt-undefined-ns-macros.m

raw
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 typedef long NSInteger;
6 enum {
7 UIViewNone = 0x0,
8 UIViewMargin = 0x1,
9 UIViewWidth = 0x2,
10 UIViewRightMargin = 0x3,
11 UIViewBottomMargin = 0xbadbeef
12 };
13 typedef NSInteger UITableStyle;
14
15
16 typedef
17 enum { two = 1 } NumericEnum2;
18
19 typedef enum { three = 1 } NumericEnum3;
20
21 typedef enum { four = 1 } NumericEnum4;
22