summaryrefslogtreecommitdiffstats
path: root/tests/ui/dyn-star/const.rs
blob: 67e3ab7ab35f18de488362f40e110101f3489862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass
#![feature(dyn_star)]
#![allow(unused, incomplete_features)]

use std::fmt::Debug;

fn make_dyn_star() {
    let i = 42usize;
    let dyn_i: dyn* Debug = i;
}

fn main() {
    make_dyn_star();
}