Also add a test. The corresponding Java custom package option already have one. Fixes golang/go#24986 Change-Id: I095d97022beb0a57df784fe0a12bc42a66bb8a07 Reviewed-on: https://go-review.googlesource.com/110058 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
22 lines
365 B
Objective-C
22 lines
365 B
Objective-C
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build ignore
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <XCTest/XCTest.h>
|
|
@import Testpkg;
|
|
|
|
@interface tests : XCTestCase
|
|
|
|
@end
|
|
|
|
@implementation tests
|
|
|
|
- (void)testBasics {
|
|
CustomTestpkgHi();
|
|
}
|
|
|
|
@end
|