summaryrefslogtreecommitdiff
path: root/tests/basic-types/boolean-literal.vala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic-types/boolean-literal.vala')
-rw-r--r--tests/basic-types/boolean-literal.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basic-types/boolean-literal.vala b/tests/basic-types/boolean-literal.vala
new file mode 100644
index 000000000..be7d379e7
--- /dev/null
+++ b/tests/basic-types/boolean-literal.vala
@@ -0,0 +1,5 @@
+void main () {
+ if (true) {
+ return;
+ }
+}