summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-64792-bad-unicode-ctor.rs
blob: f1427ef46e928a9ab64f81a5f5a1aa70c49b8036 (plain)
1
2
3
4
5
struct X {}

const Y: X = X("ö"); //~ ERROR expected function, tuple struct or tuple variant, found struct `X`

fn main() {}