summaryrefslogtreecommitdiff
path: root/testsuite/compiler/check/oper-definition
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/compiler/check/oper-definition')
-rw-r--r--testsuite/compiler/check/oper-definition/Res.gf5
-rw-r--r--testsuite/compiler/check/oper-definition/test.gfs1
-rw-r--r--testsuite/compiler/check/oper-definition/test.gfs.gold5
3 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/compiler/check/oper-definition/Res.gf b/testsuite/compiler/check/oper-definition/Res.gf
new file mode 100644
index 000000000..c22cb33cd
--- /dev/null
+++ b/testsuite/compiler/check/oper-definition/Res.gf
@@ -0,0 +1,5 @@
+resource Res = {
+
+oper my_oper : Str -> Str ;
+
+} \ No newline at end of file
diff --git a/testsuite/compiler/check/oper-definition/test.gfs b/testsuite/compiler/check/oper-definition/test.gfs
new file mode 100644
index 000000000..19dbc0a16
--- /dev/null
+++ b/testsuite/compiler/check/oper-definition/test.gfs
@@ -0,0 +1 @@
+i testsuite/compiler/check/oper-definition/Res.gf \ No newline at end of file
diff --git a/testsuite/compiler/check/oper-definition/test.gfs.gold b/testsuite/compiler/check/oper-definition/test.gfs.gold
new file mode 100644
index 000000000..1a7b407f2
--- /dev/null
+++ b/testsuite/compiler/check/oper-definition/test.gfs.gold
@@ -0,0 +1,5 @@
+
+
+checking module Res
+ Happened in operation my_oper in Res.gf, line 3 :
+ No definition given to the operation