• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#import <Foundation/Foundation.h>
2
3@interface VarClass : NSObject
4- (id) lottaArgs: (id) first, ...;
5@end
6
7@implementation VarClass
8- (id) lottaArgs: (id) first, ...
9{
10  return first;
11}
12@end
13
14int
15main()
16{
17  VarClass *my_var = [[VarClass alloc] init];
18  id something = [my_var lottaArgs: @"111", @"222", nil];
19  NSLog (@"%@ - %@", my_var, something); //% self.expect("expression -O -- [my_var lottaArgs:@\"111\", @\"222\", nil]", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["111"])
20  return 0;
21}
22
23