[K/N] Add a trivial test-case for KT-59167

This commit is contained in:
Sergey Bogolepov
2023-06-29 15:18:34 +03:00
committed by Space Team
parent 0ceadc5933
commit aee9b7aae3
3 changed files with 28 additions and 0 deletions
@@ -0,0 +1,9 @@
language=Objective-C
---
#import <GameController/GCDevice.h>
// We only need to touch the problematic header to trigger the problem,
// so actual code does not matter.
id<GCDevice> dummy() {
return nil;
}
@@ -0,0 +1,11 @@
/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
import kotlin.test.*
import kt59167.*
fun main() {
assertNull(dummy())
}