mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Add test for generic parameter list solely containing an attribute
This commit is contained in:
parent
b3015abfa0
commit
dbc7924b3f
@ -0,0 +1,5 @@
|
||||
// run-pass
|
||||
|
||||
fn foo<#[attr]>() {} // ok
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue
Block a user