Permalink
Browse files

test operator ~

  • Loading branch information...
NotFound committed Jun 21, 2012
1 parent c7a6f3c commit 090de4a8cbf0d640aa227f3e5508d00860b86b58
Showing with 16 additions and 0 deletions.
  1. +16 −0 t/medium/02bitwiseops.t
View
@@ -0,0 +1,16 @@
+#! winxed
+
+// Medium tests: bitwise operators
+
+using extern Test.More done_testing, is;
+
+function main()
+{
+ int a = 7;
+ int b = 3;
+ is(a & ~b, 4, "7 & ~ 3 : 4");
+
+ done_testing();
+}
+
+// End

0 comments on commit 090de4a

Please sign in to comment.