summaryrefslogtreecommitdiff
path: root/tests/examplefiles/exampleScript.cfc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/exampleScript.cfc')
-rw-r--r--tests/examplefiles/exampleScript.cfc15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/examplefiles/exampleScript.cfc b/tests/examplefiles/exampleScript.cfc
new file mode 100644
index 00000000..1e8b2410
--- /dev/null
+++ b/tests/examplefiles/exampleScript.cfc
@@ -0,0 +1,15 @@
+component {
+
+ public any function init(arg1){
+ var this.myVar = arg1;
+
+ return this;
+ }
+
+ private void function testFunc(arg1){
+ if(structKeyExists(arguments, "arg1")){
+ writeoutput("Argument exists");
+ }
+ }
+
+} \ No newline at end of file