blob: 2475d8093e3ba1a4be1dfbcfccb1349e955285ae [file]
#![feature(no_core)]
#![no_core]
// { dg-error "'loop' is not allowed in const context" "" { target *-*-* } .+1 }
const CONST_LOOP : () = loop{};
// { dg-error "'loop' is not allowed in const context" "" { target *-*-* } .+1 }
static STATIC_LOOP : () = loop{};