You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6
+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8
+
// option. This file may not be copied, modified, or distributed
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6
+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8
+
// option. This file may not be copied, modified, or distributed
9
+
// except according to those terms.
10
+
11
+
// aux-build:multispan.rs
12
+
// ignore-stage1
13
+
14
+
#![feature(proc_macro_non_items)]
15
+
16
+
externcrate multispan;
17
+
18
+
use multispan::hello;
19
+
20
+
fnmain(){
21
+
// This one emits no error.
22
+
hello!();
23
+
24
+
// Exactly one 'hi'.
25
+
hello!(hi);//~ ERROR hello to you, too!
26
+
27
+
// Now two, back to back.
28
+
hello!(hi hi);//~ ERROR hello to you, too!
29
+
30
+
// Now three, back to back.
31
+
hello!(hi hi hi);//~ ERROR hello to you, too!
32
+
33
+
// Now several, with spacing.
34
+
hello!(hi hey hi yo hi beep beep hi hi);//~ ERROR hello to you, too!
35
+
hello!(hi there, hi how are you? hi... hi.);//~ ERROR hello to you, too!
36
+
hello!(whoah. hi di hi di ho);//~ ERROR hello to you, too!
37
+
hello!(hi good hi and good bye);//~ ERROR hello to you, too!
0 commit comments