diff options
| author | Kevin Yeh <kevinyeah@utexas.edu> | 2015-11-24 14:37:31 -0600 |
|---|---|---|
| committer | Kevin Yeh <kevinyeah@utexas.edu> | 2015-11-24 14:37:31 -0600 |
| commit | f5fac4c54fda910c33dad2a22cb6d4d59784b00c (patch) | |
| tree | 6321db82b0bb0daa7c2d3d1daf059ba7898c27d7 /tests | |
| parent | c408245e5dbe777836b391aa3ecdacc710749ebe (diff) | |
Fix empty trim_newline panic, add impl macro test
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/source/impls.rs | 7 | ||||
| -rw-r--r-- | tests/target/impls.rs | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/source/impls.rs b/tests/source/impls.rs index c15ae12325e..4382c4fd0e6 100644 --- a/tests/source/impls.rs +++ b/tests/source/impls.rs @@ -51,3 +51,10 @@ mod b { } } } + +impl Foo { add_fun!(); } + +impl Blah { + fn boop() {} + add_fun!(); +} diff --git a/tests/target/impls.rs b/tests/target/impls.rs index 972991572a5..35ddc23a20a 100644 --- a/tests/target/impls.rs +++ b/tests/target/impls.rs @@ -63,3 +63,12 @@ mod b { } } } + +impl Foo { + add_fun!(); +} + +impl Blah { + fn boop() {} + add_fun!(); +} |
