blob: a2d3f57d60d3d34af5ebb3fe73708ef072b1f24b [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
// DUPLICATE-OF: 26832-swift-typechecker-conformstoprotocol.swift
// RUN: not %target-swift-frontend %s -parse
// REQUIRES: asserts
{struct X<a{protocol A{class B<T>:B<T>let h:A