Skip to content

Commit d2ad810

Browse files
committed
Add regression test for ZST statics being allowed to "read" from themselves
1 parent 64bb77f commit d2ad810

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// build-pass
2+
3+
static FOO: () = FOO;
4+
5+
fn main() {
6+
FOO
7+
}

0 commit comments

Comments
 (0)