Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/unit-tests/clar/test/suites/pointer.c # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / unit-tests / clar / test / suites / pointer.c` 13 lines ยท 217 bytes Raw Blame History 1 #include "clar.h" 2 3 void test_pointer__equal(void) 4 { 5 void *p1 = (void *)0x1; 6 cl_assert_equal_p(p1, p1); 7 } 8 9 void test_pointer__unequal(void) 10 { 11 void *p1 = (void *)0x1, *p2 = (void *)0x2; 12 cl_assert_equal_p(p1, p2); 13 }