We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c22333 commit 5798738Copy full SHA for 5798738
source/compiler/tests/gh_685.meta
@@ -0,0 +1,7 @@
1
+{
2
+ 'test_type': 'output_check',
3
+ 'errors': """
4
+gh_685.pwn(1) : error 010: invalid function or declaration
5
+gh_685.pwn(2) : error 010: invalid function or declaration
6
+ """
7
+}
source/compiler/tests/gh_685.pwn
@@ -0,0 +1,4 @@
+native Tag:[1]operator +(Tag:a, Tag:b) = 0; // error 010: invalid function or declaration
+forward Tag:[1]operator -(Tag:a,Tag:b); // error 010: invalid function or declaration
+
+main () { }
0 commit comments