Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git] / test / Object / nm-trivial-object.test-broken
blob6de1780a1608dd0840ea15a2ad1d8def3cbc12dd
1 RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.coff-i386 \
2 RUN:         | FileCheck %s -check-prefix COFF
3 RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.coff-x86-64 \
4 RUN:         | FileCheck %s -check-prefix COFF
5 RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.elf-i386 \
6 RUN:         | FileCheck %s -check-prefix ELF
7 RUN: llvm-nm %p/TestObjectFiles/trivial-object-test.elf-x86-64 \
8 RUN:         | FileCheck %s -check-prefix ELF
10 COFF: 00000000 d .data
11 COFF: 00000000 t .text
12 COFF: 00000000 d L{{_?}}.str
13 COFF:          U {{_?}}SomeOtherFunction
14 COFF: 00000000 T {{_?}}main
15 COFF:          U {{_?}}puts
17 ELF:          U SomeOtherFunction
18 ELF: 00000000 T main
19 ELF:          U puts