mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
201 B
Swift
11 lines
201 B
Swift
// RUN: %swift %s -verify -parse
|
|
|
|
// FIXME: When we can IRGen recursively specified enums, remove the '-parse' flag from this test
|
|
enum E {
|
|
case Foo(E)
|
|
case Bar
|
|
}
|
|
|
|
var e: E = .Bar
|
|
var f: E = .Foo(e)
|