diff options
Diffstat (limited to 'tests/ui/binop/binop-mul-bool.rs')
-rw-r--r-- | tests/ui/binop/binop-mul-bool.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/binop/binop-mul-bool.rs b/tests/ui/binop/binop-mul-bool.rs new file mode 100644 index 000000000..41494c7a0 --- /dev/null +++ b/tests/ui/binop/binop-mul-bool.rs @@ -0,0 +1,3 @@ +// error-pattern:cannot multiply `bool` by `bool` + +fn main() { let x = true * false; } |