Add a test for function pointer text wrapping.

This commit is contained in:
Emilio Cobos Álvarez
2022-11-10 14:21:06 +01:00
parent d8660bb01f
commit 66bc17facf
5 changed files with 78 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
using MyCallback = void(*)(uintptr_t a, uintptr_t b);
using MyOtherCallback = void(*)(uintptr_t a,
uintptr_t lot,
uintptr_t of,
uintptr_t args,
uintptr_t and_then_some);
extern "C" {
void my_function(MyCallback a, MyOtherCallback b);
} // extern "C"