blob: 7221dc65ea807242d49f6d9ec44434bb8d2e7ecc [file] [log] [blame]
// 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 %target-swift-frontend %s -parse
func g<T> {
struct S {
var d = 1
let c {
d.c: B<T where g())
c: a {
}
class B : A? {
}
class A