summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/builtin-syntax.rs
blob: 897dab8ec50aea16381bd143b0207dad181ca2b8 (plain)
1
2
3
4
5
6
7
8
9
#![feature(builtin_syntax)]

fn main() {
    builtin # foobar(); //~ ERROR unknown `builtin #` construct
}

fn not_identifier() {
    builtin # {}(); //~ ERROR expected identifier after
}