summaryrefslogtreecommitdiff
path: root/tests/testclassfunc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testclassfunc')
-rw-r--r--tests/testclassfunc10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testclassfunc b/tests/testclassfunc
new file mode 100644
index 0000000000..6ad5a5091c
--- /dev/null
+++ b/tests/testclassfunc
@@ -0,0 +1,10 @@
+<?
+
+class foo {
+ function bar() {
+ print "Hey there!\n";
+ }
+};
+
+foo::bar();
+