Sign in
fuchsia
/
third_party
/
swift
/
e0b775d9e8f0efd57ecbaa7fa8d69d4298bcbff0
/
.
/
test
/
ClangImporter
/
enum-objc.swift
blob: efc1ef7a6b88307034641d936efebc688d3828a9 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend -emit-sil %s -import-objc-header %S/Inputs/enum-objc.h -verify
// REQUIRES: objc_interop
func test
(
_ value
:
SwiftEnum
)
{
switch
value
{
case
.
one
:
break
case
.
two
:
break
case
.
three
:
break
}
// no error
}