enum Foo { case first(associated: Int) case second } func test() { let _ = Foo.first(associated: 1) let _ = Foo.first let _ = Foo.second }