@@ -28,14 +28,21 @@ func use<T>(_ t: T) {}
28
28
func main( ) {
29
29
var user_option = Options ( rawValue: 123456 )
30
30
var computed_option = ComputedOptions ( rawValue: 789 )
31
+ var sdk_option_single_valued : NSBinarySearchingOptions = . insertionIndex
31
32
var sdk_option_exhaustive : NSBinarySearchingOptions = [ . firstEqual, . insertionIndex]
32
33
var sdk_option_nonexhaustive = NSBinarySearchingOptions ( rawValue: 257 )
33
34
var sdk_option_nonevalid = NSBinarySearchingOptions ( rawValue: 12 )
34
35
use ( ( user_option, computed_option, // break here
36
+ sdk_option_single_valued,
35
37
sdk_option_exhaustive, sdk_option_nonexhaustive,
36
- sdk_option_nonevalid) ) //%self.expect('frame variable user_option', substrs=['rawValue = 123456'])
38
+ sdk_option_nonevalid) )
39
+ //%self.expect('frame variable user_option', substrs=['rawValue = 123456'])
37
40
//%self.expect('frame variable computed_option', substrs=['storedValue', '789'])
38
41
//%self.expect('expression user_option', substrs=['rawValue = 123456'])
42
+ //%self.expect('frame variable sdk_option_single_valued', substrs=['.insertionIndex'])
43
+ //%self.expect('frame variable sdk_option_single_valued', matching=False, substrs=['['])
44
+ //%self.expect('expression sdk_option_single_valued', substrs=['.insertionIndex'])
45
+ //%self.expect('expression sdk_option_single_valued', matching=False, substrs=['['])
39
46
//%self.expect('frame variable sdk_option_exhaustive', substrs=['[.firstEqual, .insertionIndex]'])
40
47
//%self.expect('expression sdk_option_exhaustive', substrs=['[.firstEqual, .insertionIndex]'])
41
48
//%self.expect('frame variable sdk_option_nonexhaustive', substrs=['[.firstEqual, 0x1]'])
0 commit comments