Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
const3.rs
blob: c1d0f29ae199f4ea70d115677632822c200e6b3a [
file
] [
log
] [
blame
]
fn
size
()
->
usize
{
15
}
fn
main
()
{
let
a
=
[
15
;
size
()];
// { dg-error "calls in constants are limited to constant functions, tuple structs and tuple variants" }
}