Add comments and a test for delay-init libraries on macOS. I originally
added the support in 954d00e87c a month
ago, but without these additional clarifications.
rdar://126885033
10 lines
181 B
C
10 lines
181 B
C
int foo();
|
|
int main(int argc, char **argv) {
|
|
int retval = 0;
|
|
// Only call foo() if one argument is passed
|
|
if (argc == 2)
|
|
retval = foo();
|
|
|
|
return retval; // break here
|
|
}
|