Files
linux-kernel-module-cheat/userland/gcc/empty_struct.c
Ciro Santilli 六四事件 法轮功 ecef42be81 start the big userland migration
2019-05-05 00:00:00 +00:00

12 lines
228 B
C

/* https://github.com/cirosantilli/linux-kernel-module-cheat#c-empty-struct */
#include <assert.h>
#include <stdlib.h>
int main(void) {
struct s {};
struct s s0;
assert(sizeof(s0) == 0);
return EXIT_SUCCESS;
}