ctdb-scripts: Do not de-duplicate the interfaces list
[martins/samba-autobuild/.git] / testdata / source-chars-bad.c
1 /*
2  * "Trojan Source"  CVE-2021-42574 test.
3  *
4  * Based on an example from https://lwn.net/Articles/874951/
5  */
6 #include <stdio.h>
7
8 int main(int argc, char *argv[])
9 {
10         int isAdmin = 0;
11
12 #if 0
13         /* This is what is really there. */
14
15         /*«RLO» } «LRI»if (isAdmin)«PDI» «LRI» begin admins only */
16         puts("hello admin");
17         /* end admin only «RLO» { «LRI»*/
18 #else
19         /*‮ } ⁦if (isAdmin)⁩ ⁦ begin admins only */
20         puts("hello admin");
21         /* end admin only ‮ { ⁦*/
22 #endif
23 }