mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This doesn't make a difference on Darwin, but on Linux it causes linker errors if a class inherits from a public class in another module which has private/internal members. fixes SR-1901
7 lines
260 B
Swift
7 lines
260 B
Swift
// RUN: %target-build-swift -emit-module -emit-library %S/Inputs/public_var_private_setter.swift
|
|
// RUN: %target-build-swift -I . -L . -lpublic_var_private_setter %s -o use_public_var_private_setter
|
|
|
|
import public_var_private_setter
|
|
|
|
class Class: BaseClass {}
|