Skip to content

[crashers] Add license headers #1681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions validation-test/compiler_crashers/24798-no-stacktrace.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors

// RUN: not --crash %target-swift-frontend %s -parse

// Distributed under the terms of the MIT license
// Test case found by https://github.com/neilpa (neilpa)
// Issue found by https://github.com/neilpa (neilpa)
// http://www.openradar.me/20220559

// ASAN Output: stack-overflow on address 0x7ffc82319f20 (pc 0x000001e54411 bp 0x7ffc8231a050 sp 0x7ffc82319ee0 T0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors

// RUN: %target-swift-frontend %s -emit-ir

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

class A {
init() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors

// RUN: %target-swift-frontend %s -parse -verify

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

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'}}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors

// RUN: %target-swift-frontend %s -emit-sil -verify

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

protocol C {
static func c(o: AnyObject) -> Self?
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors

// RUN: %target-swift-frontend %s -emit-silgen

// REQUIRES: objc_interop

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

import Foundation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors

// RUN: %target-swift-frontend %s -parse

// Distributed under the terms of the MIT license
// Test case found by https://github.com/neilpa (neilpa)
// Issue found by https://github.com/neilpa (neilpa)
// http://www.openradar.me/20220559

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