summaryrefslogtreecommitdiffstats
path: root/src/test/ui/index-bot.rs
blob: e69c4019f61e549cbe48a8b852df4a8dc37032ba (plain)
1
2
3
fn main() {
    (return)[0]; //~ ERROR cannot index into a value of type `!`
}