rust/tests/ui/parser/builtin-syntax.rs

10 lines
188 B
Rust

#![feature(builtin_syntax)]
fn main() {
builtin # foobar(); //~ ERROR unknown `builtin #` construct
}
fn not_identifier() {
builtin # {}(); //~ ERROR expected identifier after
}