mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
355 B
Swift
13 lines
355 B
Swift
// Checks that we don't crash.
|
|
// RUN: %sourcekitd-test -req=cursor -pos=7:5 %s -- %s | FileCheck %s
|
|
// CHECK: <empty cursor info>
|
|
|
|
class CameraViewController
|
|
{
|
|
lazy var cameraController : CameraController = CameraController(delegate: self)
|
|
|
|
override func viewDidLoad()
|
|
{
|
|
cameraController.checkDeviceAuthorizationStatusAndConfigureDevice()
|
|
}
|
|
} |