xref: /llvm-project/clang/test/Driver/s390x-unaligned-symbols.c (revision 6d242914d784ed848d0f87bf6df9b6b2f2b27566)
1 // RUN: %clang -target s390x-linux-gnu -### -c %s 2>&1 | FileCheck -check-prefix=DEFAULT %s
2 // RUN: %clang -target s390x-linux-gnu -mno-unaligned-symbols -### -c %s 2>&1 | FileCheck -check-prefix=ALIGNED %s
3 // RUN: %clang -target s390x-linux-gnu -munaligned-symbols -### -c %s 2>&1 | FileCheck -check-prefix=UNALIGN %s
4 
5 // DEFAULT-NOT: unaligned-symbols"
6 // ALIGNED: "-target-feature" "-unaligned-symbols"
7 // UNALIGN: "-target-feature" "+unaligned-symbols"
8