Skip to content

Commit 3bf9216

Browse files
[crashers] Add license headers.
1 parent c9aaa36 commit 3bf9216

11 files changed

+74
-7
lines changed

validation-test/compiler_crashers/25962-swift-archetypebuilder-getallarchetypes.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: not --crash %target-swift-frontend %s -parse
2-
// Distributed under the terms of the MIT license
39
// Test case submitted to project by https://github.com/adocyn (adocyn)
410

511
extension Collection {

validation-test/compiler_crashers/26303-llvm-llvm-unreachable-internal.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: not --crash %target-swift-frontend %s -emit-silgen
2-
// Distributed under the terms of the MIT license
39
// Test case submitted to project by https://github.com/airspeedswift (airspeedswift)
410

511
struct S<T> {

validation-test/compiler_crashers_fixed/00023-getcallerdefaultarg.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: %target-swift-frontend %s -parse -verify
29

3-
// Distributed under the terms of the MIT license
410
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
511
// http://www.openradar.me/18041799
612
// https://gist.github.com/stigi/336a9851cd80fdef22ed

validation-test/compiler_crashers_fixed/00027-void-map-over-sequence.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: %target-swift-frontend %s -emit-ir
29

310
// Test case submitted to project by https://github.com/tmu (Teemu Kurppa)

validation-test/compiler_crashers_fixed/00030-string-as-extensibe-collection.script.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: %target-swift-frontend %s -emit-ir
29

310
// Test case submitted to project by https://github.com/tmu (Teemu Kurppa)

validation-test/compiler_crashers_fixed/00037-no-stacktrace.script.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: %target-swift-frontend %s -emit-ir
29

3-
// Distributed under the terms of the MIT license
410
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
511
// https://twitter.com/practicalswift/status/505081081909878784
612

validation-test/compiler_crashers_fixed/00039-string-join.script.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: %target-swift-frontend %s -emit-ir
29

310
// Test case submitted to project by https://github.com/tmu (Teemu Kurppa)

validation-test/compiler_crashers_fixed/00040-std-function-func-swift-constraints-solution-computesubstitutions.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: %target-swift-frontend %s -parse -verify
29

3-
// Distributed under the terms of the MIT license
410
// Test case submitted to project by https://github.com/tmu (Teemu Kurppa)
511
// rdar://18175202
612

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: %target-swift-frontend %s -emit-silgen
2-
// Distributed under the terms of the MIT license
39
// Test case submitted to project by https://github.com/airspeedswift (airspeedswift)
410

511
["1"].map { String($0) }

validation-test/compiler_crashers_fixed/28187-llvm-foldingset-swift-constraints-constraintlocator.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
5+
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
7+
18
// RUN: not %target-swift-frontend %s -parse
29
// REQUIRES: objc_interop
310

4-
// Distributed under the terms of the MIT license
511
// Test case found by https://github.com/allu22 (Alvar Hansen)
612

713
class A {
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This source file is part of the Swift.org open source project
2+
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
3+
// Licensed under Apache License v2.0 with Runtime Library Exception
4+
//
25
// See http://swift.org/LICENSE.txt for license information
6+
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
37

48
// RUN: not %target-swift-frontend %s -parse
59
!(0^_{

0 commit comments

Comments
 (0)