mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
all: ~500 more byte=>u8
This commit is contained in:
parent
ae6a25f44e
commit
fbb9e65c0f
148 changed files with 544 additions and 494 deletions
|
@ -283,10 +283,10 @@ fn test_copy() {
|
|||
}
|
||||
|
||||
fn test_can_copy_bits() {
|
||||
assert can_copy_bits<byte>()
|
||||
assert can_copy_bits<u8>()
|
||||
assert can_copy_bits<int>()
|
||||
assert can_copy_bits<voidptr>()
|
||||
assert can_copy_bits<&byte>()
|
||||
assert can_copy_bits<&u8>()
|
||||
// autofree needs to intercept assign
|
||||
assert !can_copy_bits<string>()
|
||||
assert !can_copy_bits<[]int>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue