Skip to content

Commit 1534c84

Browse files
Merge pull request #1681 from practicalswift/add-apache-license-header-to-crashers-ii
[crashers] Add license headers
2 parents defe364 + 2a08c13 commit 1534c84

File tree

6 files changed

+54
-11
lines changed

6 files changed

+54
-11
lines changed

validation-test/compiler_crashers/24798-no-stacktrace.swift

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

3-
// Distributed under the terms of the MIT license
4-
// Test case found by https://github.com/neilpa (neilpa)
11+
// Issue found by https://github.com/neilpa (neilpa)
512
// http://www.openradar.me/20220559
613

714
// ASAN Output: stack-overflow on address 0x7ffc82319f20 (pc 0x000001e54411 bp 0x7ffc8231a050 sp 0x7ffc82319ee0 T0)

validation-test/compiler_crashers_fixed/00007-convenience-init-in-extension.swift

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

3-
// Test case submitted to project by https://github.com/0xc010d (Ievgen Solodovnykov)
11+
// Issue found by https://github.com/0xc010d (Ievgen Solodovnykov)
412

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

3-
// Distributed under the terms of the MIT license
4-
// Test case submitted to project by https://github.com/julasamer (julasamer)
11+
// Issue found by https://github.com/julasamer (julasamer)
512

613
struct c<d, e: b where d.c == e> { // expected-error {{use of undeclared type 'b'}} expected-error {{'c' is not a member type of 'd'}}
714
}

validation-test/compiler_crashers_fixed/00323-swift-apply-generic-protocol.swift

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

3-
// Distributed under the terms of the MIT license
4-
// Test case submitted to project by http://github.com/valfer (Valerio Ferrucci)
11+
// Issue found by http://github.com/valfer (Valerio Ferrucci)
512

613
protocol C {
714
static func c(o: AnyObject) -> Self?

validation-test/compiler_crashers_fixed/00324-swift-shortcircuit-isequal.swift

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

311
// REQUIRES: objc_interop
412

5-
// Distributed under the terms of the MIT license
6-
// Test case submitted to project by http://github.com/martijnwalraven (Martijn Walraven)
13+
// Issue found by http://github.com/martijnwalraven (Martijn Walraven)
714
// rdar://18662915
815

916
import Foundation

validation-test/compiler_crashers_fixed/24797-no-stacktrace.swift

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

3-
// Distributed under the terms of the MIT license
4-
// Test case found by https://github.com/neilpa (neilpa)
11+
// Issue found by https://github.com/neilpa (neilpa)
512
// http://www.openradar.me/20220559
613

714
// ASAN Output: stack-overflow on address 0x7ffe14a39f08 (pc 0x0000008b75dd bp 0x7ffe14a3a770 sp 0x7ffe14a39f10 T0)

0 commit comments

Comments
 (0)