summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-builtin_syntax.rs
blob: 832bb5a96bc3db5f5b8dc81884d29894d0c6b795 (plain)
1
2
3
4
5
6
7
struct Foo {
    v: u8,
    w: u8,
}
fn main() {
    builtin # offset_of(Foo, v); //~ ERROR `builtin #` syntax is unstable
}