Skip to content

Commit 80e06b6

Browse files
authored
[test] Compiler crasher only seem to happen in asserts mode (#82095)
6a33401772c7458.swift doesn't seem to crash in non-asserts mode, so mark is as requiring asserts so it does not fail when building for non-asserts.
1 parent 33a324e commit 80e06b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

validation-test/compiler_crashers_2/6a33401772c7458.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// {"signature":"swift::constraints::GenericArgumentsMismatchFailure::GenericArgumentsMismatchFailure(swift::constraints::Solution const&, swift::Type, swift::Type, llvm::ArrayRef<unsigned int>, swift::constraints::ConstraintLocator*)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3+
// REQUIRES: asserts
34
class a < b, c {
45
typealias d = b typealias e =
56
c class f<b, c> : a<b, c> class g<h, i> : f<(h, i), c> {

0 commit comments

Comments
 (0)