1 // Check the default rtlib for AIX.
2 // RUN: %clang -target powerpc-ibm-aix -print-libgcc-file-name -no-canonical-prefixes \
3 // RUN:        -resource-dir=%S/Inputs/resource_dir \
4 // RUN:   | FileCheck -check-prefix=CHECK32 %s
5 // RUN: %clang -target powerpc64-ibm-aix -print-libgcc-file-name -no-canonical-prefixes \
6 // RUN:        -resource-dir=%S/Inputs/resource_dir \
7 // RUN:   | FileCheck -check-prefix=CHECK64 %s
8 
9 // CHECK32: resource_dir{{/|\\}}lib{{/|\\}}aix{{/|\\}}libclang_rt.builtins-powerpc.a
10 // CHECK64: resource_dir{{/|\\}}lib{{/|\\}}aix{{/|\\}}libclang_rt.builtins-powerpc64.a
11