diff options
author | Aleksey Kladov <[email protected]> | 2018-01-07 16:50:54 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-07 16:50:54 +0000 |
commit | f194750a2a4d5f034e89b937e1271637b884a503 (patch) | |
tree | 1f6ebe89813801a07e2be445acd6b112627adf9c /tests/data/parser/ok/0006_inner_attributes.rs | |
parent | b5034410c8e5aabf809d2665e38017ef79d05601 (diff) |
G: start attributes
Diffstat (limited to 'tests/data/parser/ok/0006_inner_attributes.rs')
-rw-r--r-- | tests/data/parser/ok/0006_inner_attributes.rs | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ | |||
1 | #![attr] | ||
2 | #![attr(true)] | ||
3 | #![attr(ident)] | ||
4 | #![attr(ident, 100, true, "true", ident = 100, ident = "hello", ident(100))] | ||
5 | #![attr(100)] | ||
6 | #![attr(enabled = true)] | ||
7 | #![enabled(true)] | ||
8 | #![attr("hello")] | ||
9 | #![repr(C, align = 4)] | ||
10 | #![repr(C, align(4))] \ No newline at end of file | ||