Files
swift-mirror/test/ClangModules/MixedSource/Inputs/user-module/user.h
Jordan Rose f823a69c5c [ClangImporter] Typedefs of NSUInteger may import as UInt or Int.
...depending on where the typedef is defined. Removing this inconsistency
is tracked by rdar://problem/20347922.

rdar://problem/22278364

Swift SVN r31325
2015-08-19 01:44:59 +00:00

19 lines
566 B
Objective-C

@import Foundation;
#define testInMacro NSUInteger testFunctionInsideMacro(NSUInteger I);
typedef NSUInteger NSUIntegerAlias;
@interface NSUIntTest : NSObject <NSFastEnumeration>
@property NSUInteger IntProp;
@property NSUIntegerAlias TypedefProp;
- (NSUInteger)myCustomMethodThatOperatesOnNSUIntegers: (NSUInteger)key;
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len;
@end
NSUInteger testFunction(NSUInteger input);
testInMacro
NSUInteger testFunctionWithPointerParam(NSUInteger *input);