about summary refs log tree commit diff
path: root/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs')
-rw-r--r--tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs b/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs
index 27d27564baf..7e42f095cbb 100644
--- a/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs
+++ b/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs
@@ -4,7 +4,11 @@ fn main() {
     let a = -1;
     let b = 2;
     let c = a % b == 0;
+    //~^ modulo_arithmetic
     let c = a % b != 0;
+    //~^ modulo_arithmetic
     let c = 0 == a % b;
+    //~^ modulo_arithmetic
     let c = 0 != a % b;
+    //~^ modulo_arithmetic
 }