blob: 847843fe1a63ef721e48a0fe1cbe84f616a54127 [file] [log] [blame]
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
//~^ ERROR overly complex generic constant
fn main() {}