Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
6d71251cf9e40326461f90f8ff9a7024706aea87
/
.
/
tests
/
ui
/
const-generics
/
xcrate-const-ctor-b.rs
blob: dce2e43b316a403e092de4653deee541f2897b7b [
file
] [
log
] [
blame
]
//@ check-pass
//@ aux-build:xcrate-const-ctor-a.rs
#![
feature
(
adt_const_params
)]
extern
crate xcrate_const_ctor_a
;
use
xcrate_const_ctor_a
::
Foo
;
fn
bar
<
const
N
:
Foo
>()
{}
fn
baz
()
{
bar
::<{
Foo
}>();
}
fn
main
()
{}