diff options
| author | varkor <github@varkor.com> | 2019-02-07 10:58:08 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-02-07 15:03:20 +0100 |
| commit | dbc7924b3fbd9b9a0a206b16b4f00049948676c3 (patch) | |
| tree | a8b6d1118b27cad0331f2ab749902f44c92e94b6 | |
| parent | b3015abfa0f47261c5db37d48ac135709dbd741a (diff) | |
| download | rust-dbc7924b3fbd9b9a0a206b16b4f00049948676c3.tar.gz rust-dbc7924b3fbd9b9a0a206b16b4f00049948676c3.zip | |
Add test for generic parameter list solely containing an attribute
| -rw-r--r-- | src/test/ui/attribute-with-no-generics-in-parameter-list.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/attribute-with-no-generics-in-parameter-list.rs b/src/test/ui/attribute-with-no-generics-in-parameter-list.rs new file mode 100644 index 00000000000..3342f749dee --- /dev/null +++ b/src/test/ui/attribute-with-no-generics-in-parameter-list.rs @@ -0,0 +1,5 @@ +// run-pass + +fn foo<#[attr]>() {} // ok + +fn main() {} |
