]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/macros.rs
Add a test for #1209
[rust.git] / tests / source / macros.rs
index ff24939668c24626a9edd2495dd5f914f81e6be7..c282497960a366313f999047d66e489589464775 100644 (file)
@@ -224,3 +224,9 @@ fn special_case_macros() {
     // assert!
     assert!(result, "Arr! While plunderin' the hold, we got '{}' when given '{}' (we expected '{}')", result, input, expected);
 }
+
+// #1209
+impl Foo {
+    /// foo
+    pub fn foo(&self) -> Bar<foo!(   )> {}
+}