Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
4173-3.rs
blob: c4933c4ff97bd2b95eceb9a6a38b39b11864fa8d [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
trait
Sized
{}
pub
struct
S
<
const
N
:
u32
=
u32
::
MAX
>;
// { dg-error "expressions must be enclosed in braces to be used as const generic arguments" "" { target *-*-* } .-1 }