summaryrefslogtreecommitdiff
path: root/nl
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-31 22:26:38 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-31 22:26:38 +0100
commit00a56284a8649d041af079fe466f94034f2ee1fb (patch)
tree9790bd3ff6c8906ee945a6ac7f4c0def1a8288be /nl
parente4e11a9e23790b0662dadd20e346924782e30ae0 (diff)
More Equal rules
Diffstat (limited to 'nl')
-rw-r--r--nl/test_string.nl3
1 files changed, 3 insertions, 0 deletions
diff --git a/nl/test_string.nl b/nl/test_string.nl
index d120b48..c70b395 100644
--- a/nl/test_string.nl
+++ b/nl/test_string.nl
@@ -11,6 +11,9 @@ void f(char c) {
int main(int argc, ptr(string) argv) {
string s = "kaas";
ptr(i8) s2 = "kaas2";
+ ptr(func void(char)) ptr1;
+ ptr(func void(char)) ptr2;
+ f((ptr1 == ptr2) + 'a');
f('x');
return 0;
}