blob: 3d9774a3305f05e40c85df01a1c59a8280009cdb [file] [log] [blame]
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not %target-swift-frontend %s -typecheck
func b
let C{class B{class n{class a{struct Q{
class B{
{{}}struct Q<T where B:C{
class C{var f=b
struct c{
class B{
enum S{
protocol A