about summary refs log tree commit diff
path: root/tests/ui/asm/asm-with-nested-closure.rs
blob: 3a5cd48d5d4dfc0ff5d94765a908025303d029dc (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ build-pass
//@ needs-asm-support

fn foo<const N: usize>() {}

core::arch::global_asm!("/* {} */", sym foo::<{
    || {};
    0
}>);

fn main() {}