aboutsummaryrefslogtreecommitdiff
path: root/unittests/Target/Inputs/TestModule.c
blob: 6347f72649446337471a8c93a68b54ff76098562 (plain) (blame)
1
2
3
4
5
6
7
8
9
// Compile with $CC -nostdlib -shared TestModule.c -o TestModule.so
// The actual contents of the test module is not important here. I am using this
// because it
// produces an extremely tiny (but still perfectly valid) module.

void boom(void) {
  char *BOOM;
  *BOOM = 47;
}