aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/unnecessary_parenthesis.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/unnecessary_parenthesis.vv')
-rw-r--r--v_windows/v/old/vlib/v/checker/tests/unnecessary_parenthesis.vv9
1 files changed, 9 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/unnecessary_parenthesis.vv b/v_windows/v/old/vlib/v/checker/tests/unnecessary_parenthesis.vv
new file mode 100644
index 0000000..c1eb1ae
--- /dev/null
+++ b/v_windows/v/old/vlib/v/checker/tests/unnecessary_parenthesis.vv
@@ -0,0 +1,9 @@
+fn main() {
+ if (1 == 1) {
+ println('yeay')
+ } else if (1 == 2) {
+ println("oh no :'(")
+ } else if (1 == 3) {
+ println("what's wrong with physics ????")
+ }
+}