diff options
Diffstat (limited to 'tests/ui/new-style-constants.rs')
-rw-r--r-- | tests/ui/new-style-constants.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/new-style-constants.rs b/tests/ui/new-style-constants.rs new file mode 100644 index 000000000..82ed7b557 --- /dev/null +++ b/tests/ui/new-style-constants.rs @@ -0,0 +1,7 @@ +// run-pass + +static FOO: isize = 3; + +pub fn main() { + println!("{}", FOO); +} |