Debian Codegraph @

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

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 #ifndef NS_ENUM
7 @import Foundation;
8 #endif
9 typedef NS_OPTIONS(NSUInteger, UITableStyle) {
10 UIViewNone = 0x0,
11 UIViewMargin = 0x1,
12 UIViewWidth = 0x2,
13 UIViewRightMargin = 0x3,
14 UIViewBottomMargin = 0xbadbeef
15 };
16
17
18 typedef
19 NS_ENUM(unsigned int, NumericEnum2) { two = 1 };
20
21 typedef NS_ENUM(unsigned int, NumericEnum3) { three = 1 };
22
23 typedef NS_ENUM(unsigned int, NumericEnum4) { four = 1 };
24