diff options
Diffstat (limited to 'tests/ui/proc-macro/call-site.rs')
-rw-r--r-- | tests/ui/proc-macro/call-site.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/call-site.rs b/tests/ui/proc-macro/call-site.rs new file mode 100644 index 000000000..12c77250c --- /dev/null +++ b/tests/ui/proc-macro/call-site.rs @@ -0,0 +1,10 @@ +// check-pass +// aux-build:call-site.rs + +extern crate call_site; + +fn main() { + let x1 = 10; + call_site::check!(let x2 = x1;); + let x6 = x5; +} |