Revert "[LoongArch] Eliminate the redundant sign extension of division (#107971)"
[llvm-project.git] / lldb / test / API / functionalities / dead-strip / main.c
blobaa92522c432e1372951d2b31d6a010e8577d69a6
1 #include <stdio.h>
4 int f1 (char *s);
5 int f2 (char *s);
6 int f3 (char *s);
9 // We want f1 to start on line 20
10 int f1 (char *s)
12 return printf("f1: %s\n", s);
19 // We want f2 to start on line 30, this should get stripped
20 int f2 (char *s)
22 return printf("f2: %s\n", s);
29 // We want f3 to start on line 40
30 int f3 (char *s)
32 return printf("f3: %s\n", s);
39 // We want main to start on line 50
40 int main (int argc, const char * argv[])
42 f1("carp");
43 f3("dong");
44 return 0;