diff options
Diffstat (limited to 'gcc/testsuite/rust/compile/issue-3541-1.rs')
-rw-r--r-- | gcc/testsuite/rust/compile/issue-3541-1.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/issue-3541-1.rs b/gcc/testsuite/rust/compile/issue-3541-1.rs new file mode 100644 index 0000000..6b47b7e --- /dev/null +++ b/gcc/testsuite/rust/compile/issue-3541-1.rs @@ -0,0 +1,5 @@ +impl B for u32 { + const BAR: i32; // { dg-error "associated constant in .impl." } +} + +trait B {} |