diff options
Diffstat (limited to 'gcc/testsuite/rust/compile/syntax-only.rs')
-rw-r--r-- | gcc/testsuite/rust/compile/syntax-only.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/syntax-only.rs b/gcc/testsuite/rust/compile/syntax-only.rs new file mode 100644 index 0000000..cd84907b --- /dev/null +++ b/gcc/testsuite/rust/compile/syntax-only.rs @@ -0,0 +1,6 @@ +// { dg-additional-options "-fsyntax-only" } + +fn main() { + let mut a = 15; + a = true; +} |