The [lldb-aarch64-windows](https://lab.llvm.org/buildbot/#/builders/141) buildbot failed with: ``` lld-link: error: undefined symbol: printf >>> referenced by main.o:(main) ``` I'm assuming that's because of the use of `__builtin_printf`. In other tests, we use `printf` form `stdio.h` and these build fine, so I added an include and used `printf`.
15 lines
160 B
C
15 lines
160 B
C
#include <stdio.h>
|
|
|
|
struct Thing {
|
|
int zero;
|
|
int one;
|
|
};
|
|
|
|
int main() {
|
|
struct Thing x;
|
|
x.zero = 1;
|
|
x.one = 2;
|
|
printf("break here\n");
|
|
return 0;
|
|
}
|