nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated `tests/syntax_callref.nit`
[nit.git]
/
tests
/
test_extern.nit
diff --git
a/tests/test_extern.nit
b/tests/test_extern.nit
index
f3fd6f0
..
e9c0f4c
100644
(file)
--- a/
tests/test_extern.nit
+++ b/
tests/test_extern.nit
@@
-14,9
+14,9
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-meth foo: Int is extern "foo"
-meth bar(i: Int): Int is extern "bar"
-meth baz(a: Object): Object is extern "baz"
+fun foo: Int is extern "foo"
+fun bar(i: Int): Int is extern "bar"
+fun baz(a: Object): Object is extern "baz"
print(foo)
print(bar(1))
print(foo)
print(bar(1))