Skip to content

Commit 624dbb7

Browse files
committed
---
yaml --- r: 345918 b: refs/heads/master c: 40b00db h: refs/heads/master
1 parent f47b204 commit 624dbb7

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e494286070e74bc350d0962906afa040f796c98c
2+
refs/heads/master: 40b00db3e2767c44ac67ecd9f19f53d4708620ab
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1 -swift-version 5 -solver-disable-shrink -disable-constraint-solver-performance-hacks -solver-enable-operator-designated-types
2+
// REQUIRES: tools-release,no_asserts
3+
4+
func test(header_field_mark: Bool?, header_value_mark: Bool?,
5+
url_mark: Bool?, body_mark: Bool?, status_mark: Bool?) {
6+
assert(((header_field_mark != nil ? 1 : 0) +
7+
(header_value_mark != nil ? 1 : 0) +
8+
(url_mark != nil ? 1 : 0) +
9+
(body_mark != nil ? 1 : 0) +
10+
(status_mark != nil ? 1 : 0)) <= 1)
11+
}

0 commit comments

Comments
 (0)