13 lines · c
1// Verify error message is emitted for `-gsplit-dwarf` on AIX 2// as it's unsupported at the moment.3 4// RUN: not %clang -target powerpc-ibm-aix -gdwarf-4 -gsplit-dwarf %s 2>&1 \5// RUN: | FileCheck %s --check-prefix=UNSUP_OPT_AIX6// RUN: not %clang -target powerpc64-ibm-aix -gdwarf-4 -gsplit-dwarf %s 2>&1 \7// RUN: | FileCheck %s --check-prefix=UNSUP_OPT_AIX648 9// UNSUP_OPT_AIX: error: unsupported option '-gsplit-dwarf' for target 'powerpc-ibm-aix'10// UNSUP_OPT_AIX64: error: unsupported option '-gsplit-dwarf' for target 'powerpc64-ibm-aix'11 12int main(){return 0;}13