diff options
Diffstat (limited to 'tests/ui/warnings/hello-world.rs')
| -rw-r--r-- | tests/ui/warnings/hello-world.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/warnings/hello-world.rs b/tests/ui/warnings/hello-world.rs new file mode 100644 index 00000000000..1b687eb1373 --- /dev/null +++ b/tests/ui/warnings/hello-world.rs @@ -0,0 +1,7 @@ +//@ build-pass + +// Test that compiling hello world succeeds with no output of any kind. + +fn main() { + println!("Hello, world!"); +} |
