diff options
| author | John Clements <clements@racket-lang.org> | 2013-03-04 17:36:44 -0800 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2013-03-04 17:41:38 -0800 |
| commit | fe08364b3be5463e28650a6ed8cdd203b775208a (patch) | |
| tree | c2177dae671b6b34ab695a249d661920a5fa4915 /src/test/compile-fail/macro-with-seps-err-msg.rs | |
| parent | a191babbe56170380c6d9b6a26ebf472b7c5dd37 (diff) | |
| download | rust-fe08364b3be5463e28650a6ed8cdd203b775208a.tar.gz rust-fe08364b3be5463e28650a6ed8cdd203b775208a.zip | |
added test case for macros with separators error message
Diffstat (limited to 'src/test/compile-fail/macro-with-seps-err-msg.rs')
| -rw-r--r-- | src/test/compile-fail/macro-with-seps-err-msg.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/compile-fail/macro-with-seps-err-msg.rs b/src/test/compile-fail/macro-with-seps-err-msg.rs new file mode 100644 index 00000000000..74c040238ac --- /dev/null +++ b/src/test/compile-fail/macro-with-seps-err-msg.rs @@ -0,0 +1,17 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// error-pattern:expected macro name without module separators + +fn main() { + globnar::brotz!(); +} + + |
