about summary refs log tree commit diff
path: root/tests/crashes/132985.rs
blob: 2735074f44d129c68a66050add7131c2b149a485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//@ known-bug: #132985
//@ aux-build:aux132985.rs

#![allow(incomplete_features)]
#![feature(min_generic_const_args)]
#![feature(adt_const_params)]

extern crate aux132985;
use aux132985::Foo;

fn bar<const N: Foo>() {}

fn baz() {
    bar::<{ Foo }>();
}

fn main() {}