Skip to content

Commit 6570da3

Browse files
committed
[test] Clean up some crasher test cases
1 parent 9a0a831 commit 6570da3

34 files changed

+41
-41
lines changed

validation-test/compiler_crashers_2/9d8144a4e9141c6d.swift renamed to validation-test/compiler_crashers_2/13a11e92edec70b6.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// {"signature":"swift::Parser::parseStmtConditionElement(llvm::SmallVectorImpl<swift::StmtConditionElement>&, swift::Diag<>, swift::StmtKind, llvm::StringRef&)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
func a: b[ if let
3+
func a: b[ if let

validation-test/compiler_crashers_2/708df9aa47bf25c1.swift renamed to validation-test/compiler_crashers_2/16194a387970a2e6.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// {"signature":"swift::TuplePattern::createSimple(swift::ASTContext&, swift::SourceLoc, llvm::ArrayRef<swift::TuplePatternElt>, swift::SourceLoc)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
switch { case (repeat a
3+
switch { case (repeat a

validation-test/compiler_crashers_2/fc35131688595b.swift renamed to validation-test/compiler_crashers_2/1f6ae695bebb359b.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// {"signature":"makeBinOp(swift::ASTContext&, swift::Expr*, swift::Expr*, swift::Expr*, swift::PrecedenceGroupDecl*, bool)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
let a= switch a { case &b as? b
3+
let a= switch a { case &b as? b

validation-test/compiler_crashers_2/2bc220ee62d5d65.swift renamed to validation-test/compiler_crashers_2/2e58d3af692e43c.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// {"signature":"swift::Parser::parseTypeSimple(swift::Diag<>, swift::Parser::ParseTypeReason)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
subscript(a: ~b <
3+
subscript(a: ~b <

validation-test/compiler_crashers_2/83d5136a1ea615f9.swift renamed to validation-test/compiler_crashers_2/3070c3e372b52e7e.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
struct a func b(c : a) {
44
{
55
switch
6-
c { case .baz(c==
6+
c { case .baz(c==

validation-test/compiler_crashers_2/bb317d94bc705750.swift renamed to validation-test/compiler_crashers_2/33b407eb167aba5.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// {"signature":"(anonymous namespace)::ExprRewriter::coerceCallArguments(swift::ArgumentList*, swift::AnyFunctionType*, swift::ConcreteDeclRef, swift::ApplyExpr*, swift::constraints::ConstraintLocatorBuilder, llvm::ArrayRef<swift::AppliedPropertyWrapper>)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
func a<b, each c>(body : (repeat each c)->b) { body(
3+
func a<b, each c>(body : (repeat each c)->b) { body(

validation-test/compiler_crashers_2/fa3981f71bc0d522.swift renamed to validation-test/compiler_crashers_2/35129b57d7eb80f4.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// {"signature":"(anonymous namespace)::ExprWalker::rewriteTarget(swift::constraints::SyntacticElementTarget)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
{ Sendable(Sendable<<a
3+
{ Sendable(Sendable<<a

validation-test/compiler_crashers_2/fea44854b27673b7.swift renamed to validation-test/compiler_crashers_2/441e44e28042d5a3.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// {"signature":"deriveBodyRawRepresentable_init(swift::AbstractFunctionDecl*, void*)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
a enum a : Int { case = #/
3+
a enum a : Int { case = #/

validation-test/compiler_crashers_2/d9fe6f57e64fee5.swift renamed to validation-test/compiler_crashers_2/45e1131d17a7561c.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// {"signature":"swift::constraints::simplifyLocator(swift::ASTNode&, llvm::ArrayRef<swift::constraints::ConstraintLocator::PathElement>&, swift::SourceRange&)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
struct a { eq = "" b "Self ecuador1 Self) > Bool {
3+
struct a { eq = "" b "Self ecuador1 Self) > Bool {
44
let getProperties = (
55
\.eq as Self -> _
66
let eq = ""

validation-test/compiler_crashers_2/41a8ab272521be7.swift renamed to validation-test/compiler_crashers_2/486a70c43d10bda5.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// {"signature":"(anonymous namespace)::ConnectedComponents::unionSets(swift::TypeVariableType*, swift::TypeVariableType*)"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
3-
let b = ( c , d a {
3+
let b = ( c , d a {
44
e b

0 commit comments

Comments
 (0)