aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-02-05 08:22:22 -0500
committerMustafa Quraish <[email protected]>2022-02-05 08:56:15 -0500
commit75f213c8187302cd703d1398ab2359630e75c57d (patch)
tree582c500a075cc014c6557269dbfe333811065f82
parentSome very minor fixes (look at message) (diff)
downloadcup-75f213c8187302cd703d1398ab2359630e75c57d.tar.xz
cup-75f213c8187302cd703d1398ab2359630e75c57d.zip
Remove old test which disallowed initializing globals
-rwxr-xr-xtests/variables.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/variables.sh b/tests/variables.sh
index 93e9bd8..74ae03a 100755
--- a/tests/variables.sh
+++ b/tests/variables.sh
@@ -101,14 +101,6 @@ fn main(): int {
return h - g;
}
EOF
-
-assert_compile_failure_stdin <<EOF
-let g: int = 0;
-
-fn main(): int {
- return g;
-}
-EOF
echo " OK"
echo -n "- Nested Blocks: "