diff --git a/test/library/standard/BigInteger/boolCast.chpl b/test/library/standard/BigInteger/boolCast.chpl new file mode 100644 index 000000000000..5de52d03c7f0 --- /dev/null +++ b/test/library/standard/BigInteger/boolCast.chpl @@ -0,0 +1,7 @@ +use BigInteger; + +var a = true; +writeln(a:bigint); + +var b = false; +writeln(b:bigint); diff --git a/test/library/standard/BigInteger/boolCast.good b/test/library/standard/BigInteger/boolCast.good new file mode 100644 index 000000000000..b261da18d51a --- /dev/null +++ b/test/library/standard/BigInteger/boolCast.good @@ -0,0 +1,2 @@ +1 +0