1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/compiler/tests/attribute_test.v
2020-01-30 01:27:13 +01:00

33 lines
322 B
V

[testing]
struct StructAttrTest {
foo string
bar int
}
[testing]
pub struct PubStructAttrTest {
foo string
bar int
}
[testing]
enum EnumAttrTest {
one
two
}
[testing]
pub enum PubEnumAttrTest {
one
two
}
[testing]
fn test_fn_attribte() {
assert true
}
[testing]
pub fn test_pub_fn_attribte() {
assert true
}