gccrs: Add testcase for #[rustc_const_stable]
To ensure we don't introduce regressions back to issue #2314 gcc/testsuite/ChangeLog: * rust/compile/rustc_const_stable.rs: New test.
This commit is contained in:
parent
f8dad5a80c
commit
6c6e357b17
1 changed files with 2 additions and 0 deletions
2
gcc/testsuite/rust/compile/rustc_const_stable.rs
Normal file
2
gcc/testsuite/rust/compile/rustc_const_stable.rs
Normal file
|
@ -0,0 +1,2 @@
|
|||
#[rustc_const_stable(feature = "const_ascii_ctype_on_intrinsics", since = "1.47.0")]
|
||||
pub fn foo() {} // { dg-error "macro not found" "" { target *-*-* } .-1 }
|
Loading…
Add table
Reference in a new issue