ldmud/test/t-python/testcompileargstrict.c
Alexander Motzkau a828c3616d Make pragma strict_types raise errors again
The last release reimplemented pragma strict_types with warning only,
this release will make that errors again.
2020-07-05 13:18:57 +02:00

7 lines
153 B
C

#pragma strict_types
int check()
{
// This should give a compile error
return python_typecheck(this_object()->test(), this_object()->test());
}