From f194750a2a4d5f034e89b937e1271637b884a503 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 7 Jan 2018 19:50:54 +0300 Subject: G: start attributes --- tests/data/parser/ok/0006_inner_attributes.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/data/parser/ok/0006_inner_attributes.rs (limited to 'tests/data/parser/ok/0006_inner_attributes.rs') diff --git a/tests/data/parser/ok/0006_inner_attributes.rs b/tests/data/parser/ok/0006_inner_attributes.rs new file mode 100644 index 000000000..e81f8b1e8 --- /dev/null +++ b/tests/data/parser/ok/0006_inner_attributes.rs @@ -0,0 +1,10 @@ +#![attr] +#![attr(true)] +#![attr(ident)] +#![attr(ident, 100, true, "true", ident = 100, ident = "hello", ident(100))] +#![attr(100)] +#![attr(enabled = true)] +#![enabled(true)] +#![attr("hello")] +#![repr(C, align = 4)] +#![repr(C, align(4))] \ No newline at end of file -- cgit v1.2.3