We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 935405a commit 309fca1Copy full SHA for 309fca1
source/compiler/tests/gh_525.meta
@@ -0,0 +1,6 @@
1
+{
2
+ 'test_type': 'output_check',
3
+ 'errors': """
4
+gh_525.pwn(1) : error 001: expected token: "=", but found ";"
5
+ """
6
+}
source/compiler/tests/gh_525.pwn
@@ -0,0 +1,8 @@
+native Tag:operator+(Tag:a, Tag:b); // error 001: expected token: "=", but found ";"
+
+// Make sure that valid native operator and function declarations aren't affected
+native Tag2:operator+(Tag2:a, Tag2:b) = NativeFunc;
+native Tag2:NativeFunc(Tag2:a, Tag2:b);
+native NativeFunc2(a,b) = NativeFunc;
7
8
+main(){}
0 commit comments