Add regression test for ZST statics being allowed to "read" from themselves

This commit is contained in:
Oliver Scherer 2019-12-20 12:37:05 +01:00
parent a7a011d2fa
commit 6b651b1a88

View File

@ -0,0 +1,7 @@
// build-pass
static FOO: () = FOO;
fn main() {
FOO
}