Merge tag 'block-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / build / feature / test-libbfd.c
blobafa46b0465cd13762098e52828633b3a8ed1c376
1 // SPDX-License-Identifier: GPL-2.0
2 #include <bfd.h>
4 extern int printf(const char *format, ...);
6 int main(void)
8 char symbol[4096] = "FieldName__9ClassNameFd";
9 char *tmp;
11 tmp = bfd_demangle(0, symbol, 0);
13 printf("demangled symbol: {%s}\n", tmp);
15 return 0;