Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Issue 15402 - allow private access to package symbols
- Loading branch information
1 parent
1aa8a1e
commit c424690
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// REQUIRED_ARGS: -de | ||
|
||
struct S | ||
{ | ||
package int field; | ||
} | ||
|
||
void test() | ||
{ | ||
S s; | ||
s.field = 1; | ||
} |
c424690
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MartinNowak it looks like you made a branch in the official repo, instead of in your own. This tricked Bugzilla into thinking that the bug was "fixed".